Created
November 20, 2012 06:29
-
-
Save markburns/4116391 to your computer and use it in GitHub Desktop.
Problem with include_context and shared_examples_for
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source :rubygems | |
| gem 'rspec' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .F | |
| Failures: | |
| 1) Egg | |
| Failure/Error: Egg.new.class.should == RSpec::Mocks::Mock | |
| expected: RSpec::Mocks::Mock | |
| got: Egg (using ==) | |
| Diff: | |
| @@ -1,2 +1,2 @@ | |
| -RSpec::Mocks::Mock | |
| +Egg | |
| # ./spec/shared_example_bug_spec.rb:30:in `block (2 levels) in <top (required)>' | |
| Finished in 0.00236 seconds | |
| 2 examples, 1 failure | |
| Failed examples: | |
| rspec ./spec/shared_example_bug_spec.rb:29 # Egg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment