Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Test tweaks

  • Loading branch information...
commit a85b1bb352fbffa0b768a92e370a5b149fd65276 1 parent 0fbc885
@jm authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/test_enumerable_expectations.rb
View
8 test/test_enumerable_expectations.rb
@@ -65,27 +65,27 @@ def test_include_fail_message
obj = include(1)
obj.matches?([4,5,6])
- obj.failure_message.should == "Expected [4, 5, 6] to include [1]."
+ obj.failure_message.should be "Expected [4, 5, 6] to include [1]."
end
def test_include_negative_fail_message
obj = include(1)
obj.matches?([4,5,6])
- obj.negative_failure_message.should == "Expected [4, 5, 6] to not include [1]."
+ obj.negative_failure_message.should be "Expected [4, 5, 6] to not include [1]."
end
def test_exclude_fail_message
obj = exclude(4)
obj.matches?([4,5,6])
- obj.failure_message.should == "Expected [4, 5, 6] to exclude [4]."
+ obj.failure_message.should be "Expected [4, 5, 6] to exclude [4]."
end
def test_exclude_negative_fail_message
obj = exclude(4)
obj.matches?([4,5,6])
- obj.negative_failure_message.should == "Expected [4, 5, 6] to not exclude [4]."
+ obj.negative_failure_message.should be "Expected [4, 5, 6] to not exclude [4]."
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.