diff --git a/test/test_helper.rb b/test/test_helper.rb index 90662f35..5d3f7e8b 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,7 +1,11 @@ +require 'simplecov' require 'coveralls' require 'support//wait_for_ajax' -Coveralls.wear!('rails') +SimpleCov.formatter = Coveralls::SimpleCov::Formatter +SimpleCov.start do + add_filter 'app/controllers/travel_photos_controller.rb' +end ENV['RAILS_ENV'] ||= 'test' require File.expand_path('../../config/environment', __FILE__)