Sha256: aa0692903863b83713c1b6cf56acb96bd399b45017c38fe4a6ae144f71e156d2
Contents?: true
Size: 675 Bytes
Versions: 1
Compression:
Stored size: 675 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 ActionView::TestCase::TestController.class_eval do def _routes Rails.application.routes end end Draper::ViewContext.test_strategy :fast RSpec.configure do |config| config.infer_spec_type_from_file_location! config.include Rails.application.routes.url_helpers end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ama_layout-5.4.0 | spec/spec_helper.rb |