Skip to content

Commit c91e9b4

Browse files
committed
Update adapter_test_sqlserver.rb
1 parent 9b4b352 commit c91e9b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/cases/adapter_test_sqlserver.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ class AdapterTestSQLServer < ActiveRecord::TestCase
188188
it "destroys model with no associations" do
189189
connection.lowercase_schema_reflection = true
190190

191-
rec = Discount.create!
191+
discount = Discount.create!
192192
assert_equal 1, Discount.count
193-
rec.destroy!
193+
discount.destroy!
194194
assert_equal 0, Discount.count
195195
end
196196

0 commit comments

Comments
 (0)