Skip to content

Commit

Permalink
Configure simplecov and coveralls in spec_helper
Browse files Browse the repository at this point in the history
  • Loading branch information
zorbash committed Mar 25, 2015
1 parent 4e686f6 commit 90d6f0a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
require 'skroutz'

require 'webmock/rspec'
require 'simplecov'
require 'coveralls'

Dir['./spec/support/**/*.rb'].sort.each(&method(:require))

WebMock.disable_net_connect!
WebMock.disable_net_connect!(allow: 'coveralls.io')

Coveralls.wear!

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter]

SimpleCov.start

RSpec.configure do |config|
# Filtering
Expand Down

0 comments on commit 90d6f0a

Please sign in to comment.