Skip to content

Commit

Permalink
Fix require coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Genki Sugawara committed Sep 22, 2014
1 parent ed9bdc2 commit bf497f5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions spec/spec_helper.rb
@@ -1,4 +1,10 @@
$: << File.expand_path('..', __FILE__)

if ENV['TRAVIS']
require 'coveralls'
Coveralls.wear!
end

require 'ridgepole'
require 'ridgepole/cli/config'
require 'active_support/core_ext/string/strip'
Expand All @@ -7,11 +13,6 @@
require 'tempfile'
require 'json'

if ENV['TRAVIS']
require 'coveralls'
Coveralls.wear!
end

ActiveRecord::Migration.verbose = false
Ridgepole::Logger.instance.level = ::Logger::ERROR

Expand Down

0 comments on commit bf497f5

Please sign in to comment.