diff options
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/subscriber_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/subscriber_test.rb b/activerecord/test/cases/subscriber_test.rb index 699edbeb76..ce91d9385d 100644 --- a/activerecord/test/cases/subscriber_test.rb +++ b/activerecord/test/cases/subscriber_test.rb @@ -25,7 +25,7 @@ module SubscriberTest wait assert_equal 1, @logger.logged(:debug).size assert_match /Developer Load/, @logger.logged(:debug).last - assert_match /SELECT \* FROM "developers"/, @logger.logged(:debug).last + assert_match /SELECT .*?FROM .?developers.?/, @logger.logged(:debug).last end def test_cached_queries @@ -36,7 +36,7 @@ module SubscriberTest wait assert_equal 2, @logger.logged(:debug).size assert_match /CACHE/, @logger.logged(:debug).last - assert_match /SELECT \* FROM "developers"/, @logger.logged(:debug).last + assert_match /SELECT .*?FROM .?developers.?/, @logger.logged(:debug).last end class SyncSubscriberTest < ActiveSupport::TestCase |