features/expectations/customized_message.feature in rspec-expectations-2.0.0.beta.16 vs features/expectations/customized_message.feature in rspec-expectations-2.0.0.beta.17
- old
+ new
@@ -44,11 +44,11 @@
end
end
"""
When I run "rspec ./node_spec.rb --format documentation"
- Then I should see "3 examples, 3 failures"
- And I should not see "to return true, got false"
- And I should not see "to return false, got true"
- And I should see "node.state: started (first example)"
- And I should see "node.state: started (second example)"
- And I should see "expected a change"
+ Then the output should contain "3 examples, 3 failures"
+ And the output should not contain "to return true, got false"
+ And the output should not contain "to return false, got true"
+ And the output should contain "node.state: started (first example)"
+ And the output should contain "node.state: started (second example)"
+ And the output should contain "expected a change"