From d1c2f4d0d9c4b8f55e0a1bd9b05fd7c912c3a5e3 Mon Sep 17 00:00:00 2001 From: utilum Date: Mon, 3 Dec 2018 01:36:01 +0100 Subject: Assigned but unused variable - bird See: https://travis-ci.org/rails/rails/jobs/462233144#L1384 --- activerecord/test/cases/base_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test') 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 -- cgit v1.2.3