Sha256: 9a524e4f71b28277b4bdd6d3199ad4833481ed176c8cd95e5cf710a5fe13acb6

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

Contents

# Setup for test coverage instrumentation (e.g. simplecov, codeclimate)
# MUST happen before any other code is loaded
require 'simplecov'
SimpleCov.start 'test_frameworks'

require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start

require 'pry'

# Load rails dummy application
ENV['RAILS_ENV'] = 'test'
require File.expand_path('../dummy/config/environment.rb',  __FILE__)

require 'rspec/rails'
require 'capybara/rspec'
require 'webmock/rspec'
require 'shoulda-matchers'
require 'factory_girl_rails'

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  config.include FactoryGirl::Syntax::Methods

  config.use_transactional_fixtures = true

  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  # Run specs in random order to surface order dependencies. If you find an
  # order dependency and want to debug it, you can fix the order by providing
  # the seed, which is printed after each run.
  #     --seed 1234
  config.order = 'random'

  # The integration tests can be run with:
  # rspec -t type:feature
  # config.filter_run_excluding type: 'feature'

  config.after(:suite) { WebMock.disable! }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise_g5_authenticatable-0.1.0 spec/spec_helper.rb