Sha256: 0d1e4e897eeb03ed6f0939d243476d79a8901f05996ecd6e033bb70472cf3c62

Contents?: true

Size: 737 Bytes

Versions: 12

Compression:

Stored size: 737 Bytes

Contents

if ENV.fetch("COVERAGE", false)
  require "simplecov"
  SimpleCov.start "rails"
end

require "webmock/rspec"

# http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
  config.expect_with :rspec do |expectations|
    expectations.syntax = :expect
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

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

  config.filter_run :focus
  config.run_all_when_everything_filtered = true

  if config.files_to_run.one?
    config.default_formatter = 'doc'
  end

  config.order = :random

  Kernel.srand config.seed
end

WebMock.disable_net_connect!(allow_localhost: true)

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
anadea-spark-0.5.0 templates/spec/spec_helper.rb
anadea-spark-0.4.4 templates/spec/spec_helper.rb
anadea-spark-0.4.3 templates/spec/spec_helper.rb
anadea-spark-0.4.2 templates/spec/spec_helper.rb
anadea-spark-0.4.1 templates/spec/spec_helper.rb
anadea-spark-0.4.0 templates/spec/spec_helper.rb
anadea-spark-0.3.2 templates/spec/spec_helper.rb
anadea-spark-0.3.1 templates/spec/spec_helper.rb
anadea-spark-0.3.0 templates/spec/spec_helper.rb
anadea-spark-0.2.1 templates/spec/spec_helper.rb
anadea-spark-0.2.0 templates/spec/spec_helper.rb
yupi-0.1.4 templates/spec/spec_helper.rb