Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

reduce dependency on output in cuke scenario

  • Loading branch information...
commit ad6fd10f9d8e394e5933d33df03a1174b1e0a915 1 parent 6528f3f
@dchelimsky dchelimsky authored
Showing with 1 addition and 15 deletions.
  1. +1 −15 features/built_in_matchers/include.feature
View
16 features/built_in_matchers/include.feature
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.