Sha256: ae3cc611393542ba3acab29d415e161920a603c8c2b8bdf24492b2bd5be8c468

Contents?: true

Size: 555 Bytes

Versions: 6

Compression:

Stored size: 555 Bytes

Contents

ENV['RAILS_ENV'] = 'test'

require 'spec_helper'

require File.expand_path('../../config/environment', __FILE__)

require 'rspec/rails'
require 'shoulda/matchers'

Dir[Rails.root.join('spec/support/**/*.rb')].sort.each { |file| require file }

RSpec.configure do |config|
  config.include FactoryGirl::Syntax::Methods
  config.infer_base_class_for_anonymous_controllers = false
  config.infer_spec_type_from_file_location!
  config.use_transactional_fixtures = false
end

ActiveRecord::Migration.maintain_test_schema!
Capybara.javascript_driver = :webkit

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
philosophies-suspenders-2.2.2 templates/rails_helper.rb
philosophies-suspenders-2.2.1 templates/rails_helper.rb
philosophies-suspenders-2.2.0 templates/rails_helper.rb
philosophies-suspenders-2.1.2 templates/rails_helper.rb
philosophies-suspenders-2.1.1 templates/rails_helper.rb
philosophies-suspenders-2.1.0 templates/rails_helper.rb