diff options
author | Akira Matsuda <ronnie@dio.jp> | 2017-07-02 22:47:11 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2017-07-02 23:11:20 +0900 |
commit | 6642b112cd7cbff690a003db9e4fb0704e659b6d (patch) | |
tree | 73230589d264db69cb52d7ceed7e37b620b1c420 /activesupport/test/core_ext/array | |
parent | ad31335971097b417f8d4400d22b8f140cd24ead (diff) | |
download | rails-6642b112cd7cbff690a003db9e4fb0704e659b6d.tar.gz rails-6642b112cd7cbff690a003db9e4fb0704e659b6d.tar.bz2 rails-6642b112cd7cbff690a003db9e4fb0704e659b6d.zip |
Expectation first
Diffstat (limited to 'activesupport/test/core_ext/array')
-rw-r--r-- | activesupport/test/core_ext/array/conversions_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/array/conversions_test.rb b/activesupport/test/core_ext/array/conversions_test.rb index 29e661a99b..bbe81ae70c 100644 --- a/activesupport/test/core_ext/array/conversions_test.rb +++ b/activesupport/test/core_ext/array/conversions_test.rb @@ -58,7 +58,7 @@ class ToSentenceTest < ActiveSupport::TestCase ["one", "two"].to_sentence(passing: "invalid option") end - assert_equal exception.message, "Unknown key: :passing. Valid keys are: :words_connector, :two_words_connector, :last_word_connector, :locale" + assert_equal "Unknown key: :passing. Valid keys are: :words_connector, :two_words_connector, :last_word_connector, :locale", exception.message end def test_always_returns_string |