Sha256: 7d550dfb123b613a3cde22fa1794423d3dcfef2e0229cf3a09c6ad26a4f2d95a

Contents?: true

Size: 771 Bytes

Versions: 3

Compression:

Stored size: 771 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'

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

3 entries across 3 versions & 1 rubygems

Version Path
rails_admin_globalize_field-1.2.0 spec/spec_helper.rb
rails_admin_globalize_field-1.1.0 spec/spec_helper.rb
rails_admin_globalize_field-1.0.0 spec/spec_helper.rb