Permalink
Browse files

Changed expectation to use regex.

- Closes #48.
  • Loading branch information...
1 parent 40e7ace commit 2764780042d97ca2f35423c3c9d3d54d810fe8de @kchien kchien committed with dchelimsky Dec 10, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 features/matchers/include.feature
@@ -131,6 +131,5 @@ Feature: include matcher
| 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 |
- | expected {:a=>7, :b=>5} to include {:a=>7, :d=>3} |
- | expected {:a=>7, :b=>5} not to include {:a=>7, :d=>3} |
-
+ 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)\}/

0 comments on commit 2764780

Please sign in to comment.