Sha256: 169a5f9700668f2c932f43461116dd147358dbbe1d81051f8b233c9e4c5343ba
Contents?: true
Size: 518 Bytes
Versions: 12
Compression:
Stored size: 518 Bytes
Contents
require "simplecov" require "ama_layout" require "pry" require "rspec/rails" require "combustion" ENV["RAILS_ENV"] ||= "test" Combustion.initialize! :all Dir["./spec/support/**/*.rb"].sort.each { |file| require file } 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 RSpec.configure do |config| config.include Rails.application.routes.url_helpers end
Version data entries
12 entries across 12 versions & 1 rubygems