diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-07-31 15:26:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-31 15:26:44 -0400 |
commit | 83ce68e78deb01658470ad7f7cd7abde0a493746 (patch) | |
tree | 1e63b858a0b4c157c82c89660b273737d4cc0928 /activesupport/lib/active_support/testing/assertions.rb | |
parent | 0d58e7e478e79c2d6b2a39a4444d2a17a903b2a6 (diff) | |
parent | d76ed9e47e8209811914eb6e2e55c232e2795471 (diff) | |
download | rails-83ce68e78deb01658470ad7f7cd7abde0a493746.tar.gz rails-83ce68e78deb01658470ad7f7cd7abde0a493746.tar.bz2 rails-83ce68e78deb01658470ad7f7cd7abde0a493746.zip |
Merge pull request #30017 from bslobodin/fix-typo-in-assert-changes
Fix typo in assert_changes error message
Diffstat (limited to 'activesupport/lib/active_support/testing/assertions.rb')
-rw-r--r-- | activesupport/lib/active_support/testing/assertions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/assertions.rb b/activesupport/lib/active_support/testing/assertions.rb index f6366bfd39..e2bc51ff7a 100644 --- a/activesupport/lib/active_support/testing/assertions.rb +++ b/activesupport/lib/active_support/testing/assertions.rb @@ -157,7 +157,7 @@ module ActiveSupport after = exp.call if to == UNTRACKED - error = "#{expression.inspect} didn't changed" + error = "#{expression.inspect} didn't change" error = "#{message}.\n#{error}" if message assert_not_equal before, after, error else |