Sha256: 0011857a0c66b947832f3f27aa4f4e96447556c7f7d64c593b91ad280cf9a38b

Contents?: true

Size: 656 Bytes

Versions: 2

Compression:

Stored size: 656 Bytes

Contents

if ENV['COVERAGE'] || ENV['CI']
  require 'coveralls'
  require 'simplecov'
  SimpleCov.add_filter 'spec'
  SimpleCov.add_filter 'gemfiles'
  Coveralls.wear!
end

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "themes_on_rails"
require "rspec/rails"
require "ammeter/init"
Rails.backtrace_cleaner.remove_silencers!

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  config.filter_run focus: true
  config.run_all_when_everything_filtered = true
  config.infer_spec_type_from_file_location!
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
themes_on_rails-0.4.0 spec/spec_helper.rb
themes_on_rails-0.3.1 spec/spec_helper.rb