Sha256: 76dce3d6c22c82cad2a961f0691c2972639343cd5bad19f2b3410c13fc7abc1b

Contents?: true

Size: 638 Bytes

Versions: 12

Compression:

Stored size: 638 Bytes

Contents

if ENV.fetch("COVERAGE", false)
  require "simplecov"

  SimpleCov.start "rails"
end

require "webmock/rspec"
require "timecop"

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

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

  config.example_status_persistence_file_path = "tmp/rspec_examples.txt"
  config.order = :random
end

WebMock.disable_net_connect!(allow_localhost: true)

# Only allow Timecop with block syntax
Timecop.safe_mode = true

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
suspenders-1.53.0 templates/spec_helper.rb
suspenders-1.52.0 templates/spec_helper.rb
suspenders-1.51.0 templates/spec_helper.rb
bulldozer-1.6.3 templates/spec_helper.rb
bulldozer-1.6.2 templates/spec_helper.rb
bulldozer-1.6.1 templates/spec_helper.rb
bulldozer-1.6.0 templates/spec_helper.rb
suspenders-1.50.0 templates/spec_helper.rb
suspenders-1.49.0 templates/spec_helper.rb
suspenders-1.48.0 templates/spec_helper.rb
suspenders-1.47.0 templates/spec_helper.rb
suspenders-1.46.0 templates/spec_helper.rb