mirror of
https://github.com/internetee/registry.git
synced 2025-08-12 12:39:34 +02:00
Move SimpleCov.start
to the very top of spec_helper
This commit is contained in:
parent
20cf725714
commit
0b5d1c705d
1 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
||||||
require 'webmock/rspec'
|
|
||||||
WebMock.disable_net_connect!(allow_localhost: true)
|
|
||||||
|
|
||||||
if ENV['TRAVIS']
|
if ENV['TRAVIS']
|
||||||
require 'simplecov'
|
require 'simplecov'
|
||||||
SimpleCov.start
|
SimpleCov.start
|
||||||
end
|
end
|
||||||
|
|
||||||
|
require 'webmock/rspec'
|
||||||
|
WebMock.disable_net_connect!(allow_localhost: true)
|
||||||
|
|
||||||
RSpec.configure do |config|
|
RSpec.configure do |config|
|
||||||
# rspec-expectations config goes here. You can use an alternate
|
# rspec-expectations config goes here. You can use an alternate
|
||||||
# assertion/expectation library such as wrong or the stdlib/minitest
|
# assertion/expectation library such as wrong or the stdlib/minitest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue