mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Assigned but unused variable - bird
See: https://travis-ci.org/rails/rails/jobs/462233144#L1384
This commit is contained in:
parent
222757618e
commit
d1c2f4d0d9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue