Sha256: b86800ba04297f076d7066ec3d726a4e40a41e6de078be3d399bce1f60ed4932

Contents?: true

Size: 527 Bytes

Versions: 8

Compression:

Stored size: 527 Bytes

Contents

require 'simplecov'
require 'factory_girl'
require 'ama_layout'
require 'pry'
require 'rspec/rails'
require 'combustion'
require 'timecop'

ENV['RAILS_ENV'] = 'test'

Combustion.initialize! :all

Dir['./spec/support/**/*.rb'].sort.each { |file| require file }

FactoryGirl.find_definitions

ActionView::TestCase::TestController.instance_eval do
  helper Rails.application.routes.url_helpers
end

RSpec.configure do |config|
  config.infer_spec_type_from_file_location!
  config.include Rails.application.routes.url_helpers
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ama_layout-9.0.0 spec/spec_helper.rb
ama_layout-8.0.2 spec/spec_helper.rb
ama_layout-8.0.1 spec/spec_helper.rb
ama_layout-8.0.0 spec/spec_helper.rb
ama_layout-7.0.2 spec/spec_helper.rb
ama_layout-7.0.1 spec/spec_helper.rb
ama_layout-5.12.0 spec/spec_helper.rb
ama_layout-7.0.pre spec/spec_helper.rb