Permalink
Browse files

spec/console: silence PRAGMA queries

  • Loading branch information...
1 parent 7c6c802 commit 352ad1be0da72b9208193cdcb4205ecd2a49e70d @mislav committed Jul 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/console_fixtures.rb
@@ -10,7 +10,7 @@
# used just for the `color` method
log_subscriber = ActiveSupport::LogSubscriber.log_subscribers.first
-IGNORE_SQL = /\b(sqlite_master|sqlite_version)\b|^CREATE TABLE/
+IGNORE_SQL = /\b(sqlite_master|sqlite_version)\b|^(CREATE TABLE|PRAGMA)\b/
ActiveSupport::Notifications.subscribe(/^sql\./) do |*args|
data = args.last

0 comments on commit 352ad1b

Please sign in to comment.