Creates simplecov exetrnal config
This commit is contained in:
4
.simplecov
Normal file
4
.simplecov
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
SimpleCov.start do
|
||||||
|
add_filter '/spec/'
|
||||||
|
add_filter 'helper'
|
||||||
|
end
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
||||||
|
|
||||||
require 'simplecov'
|
require 'simplecov' # Used filters are in /.simplecov
|
||||||
require 'rspec/its'
|
require 'rspec/its'
|
||||||
require 'webmock/rspec'
|
require 'webmock/rspec'
|
||||||
|
|
||||||
@@ -9,11 +9,6 @@ if ENV['TRAVIS']
|
|||||||
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
|
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
|
||||||
end
|
end
|
||||||
|
|
||||||
SimpleCov.start do
|
|
||||||
add_filter '/spec/'
|
|
||||||
add_filter 'helper'
|
|
||||||
end
|
|
||||||
|
|
||||||
# See http://betterspecs.org/
|
# See http://betterspecs.org/
|
||||||
RSpec.configure do |config|
|
RSpec.configure do |config|
|
||||||
config.expect_with :rspec do |c|
|
config.expect_with :rspec do |c|
|
||||||
|
|||||||
Reference in New Issue
Block a user