lib/active_support/testing/assertions.rb in activesupport-4.1.16 vs lib/active_support/testing/assertions.rb in activesupport-4.2.0.beta1

- old
+ new

@@ -7,10 +7,10 @@ # +nil+ or +false+. "Truthy" means "considered true in a conditional" # like <tt>if foo</tt>. # # assert_not nil # => true # assert_not false # => true - # assert_not 'foo' # => 'foo' is not nil or false + # assert_not 'foo' # => Expected "foo" to be nil or false # # An error message can be specified. # # assert_not foo, 'foo should be false' def assert_not(object, message = nil)