Sha256: 9d140683761b513b70407658036f0f98549c5b060c11a2a6460a6c08b12f23d7

Contents?: true

Size: 606 Bytes

Versions: 2

Compression:

Stored size: 606 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/traducto_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
traducto-1.0.8 spec/spec_helper.rb
traducto-1.0.7 spec/spec_helper.rb