diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2015-12-14 09:20:07 -0700 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2015-12-14 09:20:07 -0700 |
commit | 05bb0689c90ba192be46529712f309b49df834f4 (patch) | |
tree | 5a1d92a8bf7c891032fa6b4786bf62b48e540cda /activerecord/test | |
parent | 574f255629a45cd67babcfb9bb8e163e091a53b8 (diff) | |
download | rails-05bb0689c90ba192be46529712f309b49df834f4.tar.gz rails-05bb0689c90ba192be46529712f309b49df834f4.tar.bz2 rails-05bb0689c90ba192be46529712f309b49df834f4.zip |
Fix test failures caused by 574f255
There was a test remaining for PG only that was checking for an exact
limit clause
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/locking_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/locking_test.rb b/activerecord/test/cases/locking_test.rb index 2e1363334d..4fe76e563a 100644 --- a/activerecord/test/cases/locking_test.rb +++ b/activerecord/test/cases/locking_test.rb @@ -441,7 +441,7 @@ unless in_memory_db? def test_lock_sending_custom_lock_statement Person.transaction do person = Person.find(1) - assert_sql(/LIMIT 1 FOR SHARE NOWAIT/) do + assert_sql(/LIMIT \$\d FOR SHARE NOWAIT/) do person.lock!('FOR SHARE NOWAIT') end end |