Sha256: 6ee13b5326083e4c5910b7462680925fe407aad532d95a9976015283285f67e8
Contents?: true
Size: 741 Bytes
Versions: 8
Compression:
Stored size: 741 Bytes
Contents
ENV["RAILS_ENV"] = "test" require 'pry' require File.expand_path("../../spec/dummy/config/environment.rb", __FILE__) ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../spec/dummy/db/migrate", __FILE__)] Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } require 'rspec/rails' require 'record_collection' require 'database_cleaner' require 'capybara/rails' require 'capybara/rspec' require 'capybara/poltergeist' Capybara.javascript_driver = :poltergeist DatabaseCleaner.clean_with :truncation RSpec.configure do |config| config.mock_with :rspec config.include Dummy::Application.routes.url_helpers, type: :feature config.expect_with :rspec do |c| c.syntax = [:should, :expect] end end
Version data entries
8 entries across 8 versions & 1 rubygems