Sha256: 5aacec9de0bc224ec6bdb4c8bda4da77f4f177b0b70fb14929309a834be8bc14

Contents?: true

Size: 594 Bytes

Versions: 7

Compression:

Stored size: 594 Bytes

Contents

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

ENV['RAILS_ENV'] = 'test'

Combustion.initialize!(:all) do
  config.stylesheet_resolver = OpenStruct.new(version: 'v3')
end

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

FactoryBot.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

7 entries across 7 versions & 1 rubygems

Version Path
ama_layout-11.5.1 spec/spec_helper.rb
ama_layout-11.5.0 spec/spec_helper.rb
ama_layout-11.4.0 spec/spec_helper.rb
ama_layout-11.3.1 spec/spec_helper.rb
ama_layout-11.3.0 spec/spec_helper.rb
ama_layout-11.2.0 spec/spec_helper.rb
ama_layout-11.1.0 spec/spec_helper.rb