Sha256: eecd19cbd3db980ac2c11fc0234309692a8f98ca842b1d5cd31ab336f9c28123

Contents?: true

Size: 739 Bytes

Versions: 4

Compression:

Stored size: 739 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'

require 'combustion'
require 'capybara/rspec'

require 'capybara/poltergeist'
require_relative 'support/screenshot'
Capybara.register_driver :poltergeist do |app|
  Capybara::Poltergeist::Driver.new(app, {js_errors: false, inspector: true})
end
Capybara.javascript_driver = :poltergeist

require 'best_in_place'

Combustion.initialize! :active_record, :action_controller,
                       :action_view, :sprockets

require 'rspec/rails'
require 'capybara/rails'

require 'best_in_place/test_helpers'
require_relative 'support/retry_on_timeout'


RSpec.configure do |config|
  config.include BestInPlace::TestHelpers
  config.use_transactional_fixtures = false
  config.raise_errors_for_deprecations!
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
best_in_place-3.1.0 spec/rails_helper.rb
best_in_place-3.0.3 spec/rails_helper.rb
best_in_place-3.0.2 spec/rails_helper.rb
best_in_place-3.0.1 spec/rails_helper.rb