Skip to content

Commit

Permalink
Pass LOGGER=true to rake to get verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
nertzy committed Nov 30, 2011
1 parent 41f1909 commit 765bb7a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/spec_helper.rb
Expand Up @@ -19,6 +19,11 @@
raise e
end

if ENV["LOGGER"]
require "logger"
ActiveRecord::Base.logger = Logger.new(STDOUT)
end

def install_extension_if_missing(name, query, expected_result)
connection = ActiveRecord::Base.connection
result = connection.select_value(query)
Expand Down

0 comments on commit 765bb7a

Please sign in to comment.