Scenario 1: FileReader do_read - should throw File Not Found on non-existent file FileReader do_read - should read the mock contents (ERROR - 1) 1) Errno::ENOENT in 'FileReader do_read should read the mock contents' File not found d:/test.rb:60:in `do_read' d:/test/test.rb:57:in `instance_eval' file:/D:/tools/jruby-1.1b1/lib/jruby.jar!/jruby/commands.rb:14:in `load' file:/D:/tools/jruby-1.1b1/lib/jruby.jar!/jruby/commands.rb:14:in `spec' file:/D:/tools/jruby-1.1b1/lib/jruby.jar!/jruby/commands.rb:11:in `spec' -e:1:in `spec' Scenario 2: FileReader do_read - should read the mock contents FileReader do_read - should throw File Not Found on non-existent file (ERROR - 1) 1) NoMethodError in 'FileReader do_read should throw File Not Found on non-existent file' undefined method `read' for File:Class d:/test.rb:43:in `do_read' d:/test.rb:58:in `do_read' d:/test.rb:56:in `instance_eval' file:/D:/tools/jruby-1.1b1/lib/jruby.jar!/jruby/commands.rb:14:in `load' file:/D:/tools/jruby-1.1b1/lib/jruby.jar!/jruby/commands.rb:14:in `spec' file:/D:/tools/jruby-1.1b1/lib/jruby.jar!/jruby/commands.rb:11:in `spec' -e:1:in `spec'