diff options
author | Koichi ITO <koic.ito@gmail.com> | 2017-05-24 15:21:02 +0900 |
---|---|---|
committer | Koichi ITO <koic.ito@gmail.com> | 2017-05-24 15:21:17 +0900 |
commit | bef95d372f9104a321cf17ac9f45316e9caac920 (patch) | |
tree | 6d80b7dd9318f2383b0808167c7ff3f9aadcb0d4 /activerecord/test | |
parent | 525586417ef22928353efb4e670268ddd25cd94e (diff) | |
download | rails-bef95d372f9104a321cf17ac9f45316e9caac920.tar.gz rails-bef95d372f9104a321cf17ac9f45316e9caac920.tar.bz2 rails-bef95d372f9104a321cf17ac9f45316e9caac920.zip |
Fix a RuboCop offences using `rubocop -a`
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/associations/callbacks_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/callbacks_test.rb b/activerecord/test/cases/associations/callbacks_test.rb index 7721bd5cd9..f9d1e44595 100644 --- a/activerecord/test/cases/associations/callbacks_test.rb +++ b/activerecord/test/cases/associations/callbacks_test.rb @@ -128,7 +128,7 @@ class AssociationCallbacksTest < ActiveRecord::TestCase assert ar.developers_log.empty? alice = Developer.new(name: "alice") ar.developers_with_callbacks << alice - assert_equal"after_adding#{alice.id}", ar.developers_log.last + assert_equal "after_adding#{alice.id}", ar.developers_log.last bob = ar.developers_with_callbacks.create(name: "bob") assert_equal "after_adding#{bob.id}", ar.developers_log.last |