use Coveralls.merged!('rails')

This commit is contained in:
Joerg Reichert 2016-03-05 21:28:32 +01:00
parent e9a87adeba
commit a247ccc70a
2 changed files with 6 additions and 6 deletions

View file

@ -1,3 +1,6 @@
require 'coveralls'
Coveralls.merged!('rails')
# This file was generated by the `rails generate rspec:install` command. Conventionally, all # This file was generated by the `rails generate rspec:install` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause # The generated `.rspec` file contains `--require spec_helper` which will cause
@ -40,9 +43,6 @@ RSpec.configure do |config|
mocks.verify_partial_doubles = true mocks.verify_partial_doubles = true
end end
require 'coveralls'
Coveralls.wear!
# The settings below are suggested to provide a good initial experience # The settings below are suggested to provide a good initial experience
# with RSpec, but feel free to customize to your heart's content. # with RSpec, but feel free to customize to your heart's content.
=begin =begin

View file

@ -1,3 +1,6 @@
require 'coveralls'
Coveralls.merged!('rails')
require 'simplecov' require 'simplecov'
SimpleCov.start 'rails' SimpleCov.start 'rails'
@ -6,9 +9,6 @@ require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help' require 'rails/test_help'
require 'capybara/rails' require 'capybara/rails'
require 'coveralls'
Coveralls.wear!
class ActiveSupport::TestCase class ActiveSupport::TestCase
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
# fixtures :all # fixtures :all