aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorclaudiob <claudiob@users.noreply.github.com>2017-12-02 12:00:09 -0800
committerclaudiob <claudiob@users.noreply.github.com>2017-12-02 12:00:09 -0800
commita71bbed76aab9e8a9a6b2da18bcacd8ee32a0dd0 (patch)
tree96a04253ce849c37b36f5ee72f17b7e2925d7043 /activemodel
parent6a7787218b8d75913b58d7bed198495e8d29e34e (diff)
downloadrails-a71bbed76aab9e8a9a6b2da18bcacd8ee32a0dd0.tar.gz
rails-a71bbed76aab9e8a9a6b2da18bcacd8ee32a0dd0.tar.bz2
rails-a71bbed76aab9e8a9a6b2da18bcacd8ee32a0dd0.zip
Fix typo in test error message
With the current code, a failing test shows this error, which is missing the number of times called and has two periods at the end. ``` /railties$ be ruby -Itest test/generators/app_generator_test.rb -n test_active_storage_install Failure: AppGeneratorTest#test_active_storage_install [test/generators/app_generator_test.rb:313]: active_storage:install expected to be called once, but was called times.. Expected: 1 Actual: 2 ``` After the fix, the error message looks correct: ``` /railties$ be ruby -Itest test/generators/app_generator_test.rb -n test_active_storage_install Failure: AppGeneratorTest#test_active_storage_install [test/generators/app_generator_test.rb:313]: active_storage:install expected to be called once, but was called 2 times. Expected: 1 Actual: 2 ```
Diffstat (limited to 'activemodel')
0 files changed, 0 insertions, 0 deletions