Sha256: af5d806dbb5590b49a8ad0f03ad2a3d7419fca0ef91ed4f8308c35f24b66ed5a

Contents?: true

Size: 803 Bytes

Versions: 6

Compression:

Stored size: 803 Bytes

Contents

require "coveralls"
Coveralls.wear!

require "simplecov"
SimpleCov.start do
  add_filter "/spec\/fixtures/"
  add_filter "/spec\/dummy/"
end

ENV["RAILS_ENV"] ||= "test"
require "chanko"

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

RSpec.configure do |config|
  config.use_transactional_fixtures = true
  config.infer_base_class_for_anonymous_controllers = false
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  config.after do
    Chanko::Config.reset
    Chanko::Config.units_directory_path = File.expand_path("../fixtures/units", __FILE__)
  end
end

Chanko::Config.units_directory_path = File.expand_path("../fixtures/units", __FILE__)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
chanko-2.0.6 spec/spec_helper.rb
chanko-2.0.5 spec/spec_helper.rb
chanko-2.0.4 spec/spec_helper.rb
chanko-2.0.3 spec/spec_helper.rb
chanko-2.0.2 spec/spec_helper.rb
chanko-2.0.1 spec/spec_helper.rb