Skip to content

Commit

Permalink
reduce dependency on output in cuke scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Feb 5, 2011
1 parent 6528f3f commit ad6fd10
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions features/built_in_matchers/include.feature
Expand Up @@ -118,18 +118,4 @@ Feature: include matcher
end
"""
When I run "rspec hash_include_matcher_spec.rb"
Then the output should contain all of these:
| 22 examples, 13 failures |
| expected {:a=>7, :b=>5} not to include :a |
| expected {:a=>7, :b=>5} not to include :b and :a |
| expected {:a=>7, :b=>5} not to include {:a=>7} |
| expected {:a=>7, :b=>5} not to include {:a=>7, :b=>5} |
| expected {:a=>7, :b=>5} to include :c |
| expected {:a=>7, :b=>5} to include :c and :d |
| expected {:a=>7, :b=>5} to include {:d=>2} |
| expected {:a=>7, :b=>5} to include {:a=>5} |
| expected {:a=>7, :b=>5} to include {:a=>5, :b=>7} |
| expected {:a=>7, :b=>5} to include :a and :d |
| expected {:a=>7, :b=>5} not to include :a and :d |
And the output should match /expected \{:a=>7, :b=>5\} to include \{(?::a=>7, :d=>3)|(?::d=>3, :a=>7)\}/
And the output should match /expected \{:a=>7, :b=>5\} not to include \{(?::a=>7, :d=>3)|(?::d=>3, :a=>7)\}/
Then the output should contain "13 failure"

0 comments on commit ad6fd10

Please sign in to comment.