Skip to content

Commit ae1b451

Browse files
committed
Merge pull request rails#15666 from akshay-vishnoi/doc_changes
Correct output of #assert_not
2 parents 8a30461 + 48af90f commit ae1b451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activesupport/lib/active_support/testing/assertions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module Assertions
99
#
1010
# assert_not nil # => true
1111
# assert_not false # => true
12-
# assert_not 'foo' # => 'foo' is not nil or false
12+
# assert_not 'foo' # => Expected "foo" to be nil or false
1313
#
1414
# An error message can be specified.
1515
#

0 commit comments

Comments
 (0)