Sha256: f2a6121f3176b8f02328c0c7d6df457c9cc64546a0de04eccc868cb6b36777b1

Contents?: true

Size: 1.3 KB

Versions: 11

Compression:

Stored size: 1.3 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! }

  config.infer_spec_type_from_file_location!
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
devise_g5_authenticatable-0.3.0 spec/spec_helper.rb
devise_g5_authenticatable-0.2.5.beta spec/spec_helper.rb
devise_g5_authenticatable-0.2.4 spec/spec_helper.rb
devise_g5_authenticatable-0.2.4.beta spec/spec_helper.rb
devise_g5_authenticatable-0.2.3 spec/spec_helper.rb
devise_g5_authenticatable-0.2.2 spec/spec_helper.rb
devise_g5_authenticatable-0.2.1 spec/spec_helper.rb
devise_g5_authenticatable-0.2.0 spec/spec_helper.rb
devise_g5_authenticatable-0.1.3 spec/spec_helper.rb
devise_g5_authenticatable-0.1.2 spec/spec_helper.rb
devise_g5_authenticatable-0.1.1 spec/spec_helper.rb