Sha256: ad74eacc0edac6c6b91e0c886cbdf4694a6e8b0069eb8626e7870731e34ecb5c
Contents?: true
Size: 495 Bytes
Versions: 5
Compression:
Stored size: 495 Bytes
Contents
# Configure Rails Envinronment ENV['RAILS_ENV'] = 'test' require File.expand_path('../dummy/config/environment.rb', __FILE__) require 'rspec/rails' ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../') # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[File.join(ENGINE_RAILS_ROOT, 'spec/support/**/*.rb')].each { |f| require f } RSpec.configure do |config| config.include Foyer::TestHelpers, type: :controller end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
foyer-0.5.0 | spec/spec_helper.rb |
foyer-0.4.0 | spec/spec_helper.rb |
foyer-0.3.1 | spec/spec_helper.rb |
foyer-0.2.2 | spec/spec_helper.rb |
foyer-0.2.1 | spec/spec_helper.rb |