diff options
author | utilum <oz@utilum.com> | 2018-12-03 01:36:01 +0100 |
---|---|---|
committer | utilum <oz@utilum.com> | 2018-12-03 01:36:01 +0100 |
commit | d1c2f4d0d9c4b8f55e0a1bd9b05fd7c912c3a5e3 (patch) | |
tree | 8632d21b550b1cd7a876fe826f05f3818e9720b4 /activerecord/test | |
parent | 222757618e709c3fcdd79478cd39c2bc2cad573e (diff) | |
download | rails-d1c2f4d0d9c4b8f55e0a1bd9b05fd7c912c3a5e3.tar.gz rails-d1c2f4d0d9c4b8f55e0a1bd9b05fd7c912c3a5e3.tar.bz2 rails-d1c2f4d0d9c4b8f55e0a1bd9b05fd7c912c3a5e3.zip |
Assigned but unused variable - bird
See: https://travis-ci.org/rails/rails/jobs/462233144#L1384
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 |