Sha256: 1d2a6559cfbef776a6bc670fc580548bb8a4f4f710c3c56fb3c275d6f506dc03
Contents?: true
Size: 675 Bytes
Versions: 1
Compression:
Stored size: 675 Bytes
Contents
ENV['RAILS_ENV'] ||= 'test' require 'spec_helper' require File.expand_path('../dummy/config/environment.rb', __FILE__) require 'rspec/rails' require 'capybara/poltergeist' Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f } ActiveRecord::Migration.maintain_test_schema! RSpec.configure do |config| config.include FactoryGirl::Syntax::Methods config.before :suite do DatabaseRewinder.clean_all end config.after :each do DatabaseRewinder.clean end config.use_transactional_fixtures = false config.infer_base_class_for_anonymous_controllers = false end Capybara.configure do |config| config.javascript_driver = :poltergeist end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
daimon-exhibition-0.1.0 | spec/rails_helper.rb |