diff options
author | Yuji Yaginuma <yuuji.yaginuma@gmail.com> | 2018-12-03 11:39:54 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 11:39:54 +0900 |
commit | e7717ec7a09ca83f92a9819303f7a93e038a2679 (patch) | |
tree | 9aedcb1485b7fe7cbb13774e19e1ddcbe01ffea6 /activerecord/test | |
parent | 5bf6986293151eb67c9bd759a7fcfcbcf6e0f132 (diff) | |
parent | d1c2f4d0d9c4b8f55e0a1bd9b05fd7c912c3a5e3 (diff) | |
download | rails-e7717ec7a09ca83f92a9819303f7a93e038a2679.tar.gz rails-e7717ec7a09ca83f92a9819303f7a93e038a2679.tar.bz2 rails-e7717ec7a09ca83f92a9819303f7a93e038a2679.zip |
Merge pull request #34597 from utilum/assigned_but_unused_variable_bird
Assigned but unused variable - bird
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/base_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb index 6c7f3a9c56..171983a9f5 100644 --- a/activerecord/test/cases/base_test.rb +++ b/activerecord/test/cases/base_test.rb @@ -1492,7 +1492,7 @@ class BasicsTest < ActiveRecord::TestCase test "creating a record raises if preventing writes" do assert_raises ActiveRecord::StatementInvalid do ActiveRecord::Base.connection.while_preventing_writes do - bird = Bird.create! name: "Bluejay" + Bird.create! name: "Bluejay" end end end |