Sha256: b43f171af973ec19c2923a1d94d7660c1eb4eac047d41a3ab473486ff4f998d5

Contents?: true

Size: 826 Bytes

Versions: 2

Compression:

Stored size: 826 Bytes

Contents

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

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

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

Capybara.javascript_driver = :poltergeist

RSpec.configure do |config|
  config.disable_monkey_patching!
  config.use_transactional_fixtures = true
  config.order = 'random'
  config.include Capybara::DSL

  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  # rspec-mock config
  config.mock_with :rspec do |mocks|
    # Prevents you from mocking or stubbing a method that does not exist on
    # a real object. This is generally recommended, and will default to
    # `true` in RSpec 4.
    mocks.verify_partial_doubles = true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_admin_globalize_field-0.4.0 spec/spec_helper.rb
rails_admin_globalize_field-0.3.3 spec/spec_helper.rb