examples/failing/mocking_example.rb:11 ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49 ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45 :in `chdir' ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45
9 it "should fail when expected message not received" do
10 mock = mock("poke me")
11 mock.should_receive(:poke)
12 end
13
examples/failing/mocking_example.rb:20 ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49 ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45 :in `chdir' ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45
18 mock.should_receive(:three).ordered
19 mock.one
20 mock.three
21 mock.two
22 end
examples/failing/mocking_example.rb:27 ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49 ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45 :in `chdir' ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45
25 mock = mock("don't talk to me")
26 mock.should_not_receive(:any_message_at_all)
27 mock.any_message_at_all
28 end
examples/failing/mocking_example.rb:31 ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49 ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45 :in `chdir' ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45
29
30 it "has a bug we need to fix" do
31 pending "here is the bug" do
32 # Actually, no. It's fixed. This will fail because it passes :-)
33 mock = mock("Bug")
examples/failing/diffing_spec.rb:13 ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49 ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45 :in `chdir' ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45
11framework for Ruby
12EOF
13 usa.should == uk
14 end
examples/failing/diffing_spec.rb:34 ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:49 ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45 :in `chdir' ./spec/spec/runner/formatter/text_mate_formatter_spec.rb:45
32 expected = Animal.new "bob", "giraffe"
33 actual = Animal.new "bob", "tortoise"
34 expected.should eql(actual)
35 end
36end