Sha256: af796203effc51afc2499bd0bdc940eb1093745c94bb8db39c5256eb82eaa251

Contents?: true

Size: 1.61 KB

Versions: 9

Compression:

Stored size: 1.61 KB

Contents

# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause
# this file to always be loaded, without a need to explicitly require it in any
# files.
#
# Given that it is always loaded, you are encouraged to keep this file as
# light-weight as possible. Requiring heavyweight dependencies from this file
# will add to the boot time of your test suite on EVERY test run, even for an
# individual file that may not need all of that loaded. Instead, consider making
# a separate helper file that requires the additional dependencies and performs
# the additional setup, and require it from the spec files that actually need
# it.
#
# The `.rspec` file also contains a few flags that are not defaults but that
# users commonly want.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration

if ENV['COVERAGE']
  require 'codeclimate-test-reporter'
  CodeClimate::TestReporter.start
  require 'simplecov'
  SimpleCov.start
end

RSpec.configure do |config|
  require 'rspec/hive'
  require 'rspec/its'
  # rspec-expectations config goes here. You can use an alternate
  # assertion/expectation library such as wrong or the stdlib/minitest
  # assertions if you prefer.
  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end

  config.disable_monkey_patching!
  config.order = :random
  Kernel.srand config.seed
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rspec-hive-0.6.3 spec/spec_helper.rb
rspec-hive-0.6.2 spec/spec_helper.rb
rspec-hive-0.6.1 spec/spec_helper.rb
rspec-hive-0.6.0 spec/spec_helper.rb
rspec-hive-0.4.2 spec/spec_helper.rb
rspec-hive-0.4.1 spec/spec_helper.rb
rspec-hive-0.4.0 spec/spec_helper.rb
rspec-hive-0.3.0 spec/spec_helper.rb
rspec-hive-0.2.0 spec/spec_helper.rb