diff options
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/explain_subscriber_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/test/cases/explain_subscriber_test.rb b/activerecord/test/cases/explain_subscriber_test.rb index f929ddd79e..7b852a625d 100644 --- a/activerecord/test/cases/explain_subscriber_test.rb +++ b/activerecord/test/cases/explain_subscriber_test.rb @@ -38,13 +38,6 @@ if ActiveRecord::Base.connection.supports_explain? end end - def test_collects_nothing_if_the_statement_is_only_partially_matched - with_queries([]) do |queries| - SUBSCRIBER.finish(:name => 'SQL', :sql => 'select_db yo_mama') - assert queries.empty? - end - end - def test_collects_nothing_if_unexplained_sqls with_queries([]) do |queries| SUBSCRIBER.call(:name => 'SQL', :sql => 'SHOW max_identifier_length') |