Sha256: ddbd1153bfcc16196ead0b7fc6624ac460f193f6e49dcc043357e0640c1cbfaf

Contents?: true

Size: 605 Bytes

Versions: 2

Compression:

Stored size: 605 Bytes

Contents

ENV["RAILS_ENV"] ||= 'test'

require 'simplecov'
require 'simplecov-rcov-text'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
  SimpleCov::Formatter::HTMLFormatter,
  SimpleCov::Formatter::RcovTextFormatter,
  Coveralls::SimpleCov::Formatter
])

SimpleCov.start do
  add_filter "spec/dummy"
  add_filter "spec/support"
  add_filter "spec/portier_spec.rb"
end

require File.expand_path("../dummy/config/environment", __FILE__)

require 'rspec/rails'

Dir["./spec/support/**/*.rb"].sort.each {|f| require f }

RSpec.configure do |config|
  config.mock_with :rspec
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
portier-1.1.1 spec/spec_helper.rb
portier-1.1.0 spec/spec_helper.rb