test/capistrano_test.rb in airbrake-4.3.0 vs test/capistrano_test.rb in airbrake-4.3.1
- old
+ new
@@ -22,9 +22,10 @@
end
should "log when calling airbrake:deploy task" do
@configuration.set(:current_revision, '084505b1c0e0bcf1526e673bb6ac99fbcb18aecc')
@configuration.set(:repository, 'repository')
+ @configuration.set(:rails_env, :production)
@configuration.set(:release_path, '/home/deploy/rails_app/hoptoad')
io = StringIO.new
logger = Capistrano::Logger.new(:output => io)
logger.level = Capistrano::Logger::MAX_LEVEL