Sha256: 7bad44d896d0cd69369c236a61d5a246bc7722ee5cfa093b8dd76db81b967f6e

Contents?: true

Size: 582 Bytes

Versions: 13

Compression:

Stored size: 582 Bytes

Contents

if ENV['coverage'] == 'on'
  require 'simplecov'
  SimpleCov.start 'rails' do
    minimum_coverage 100
  end
end

RSpec.configure do |config|
  config.disable_monkey_patching!
  config.order = :random
  Kernel.srand config.seed
  config.filter_run focus: true
  config.run_all_when_everything_filtered = true
  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
  if config.files_to_run.one?
    config.default_formatter = 'doc'
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
pah-0.0.28 lib/pah/files/spec/spec_helper.rb
pah-0.0.27 lib/pah/files/spec/spec_helper.rb
pah-0.0.26 lib/pah/files/spec/spec_helper.rb
pah-0.0.25 lib/pah/files/spec/spec_helper.rb
pah-0.0.24 lib/pah/files/spec/spec_helper.rb
pah-0.0.23 lib/pah/files/spec/spec_helper.rb
pah-0.0.22 lib/pah/files/spec/spec_helper.rb
pah-0.0.21 lib/pah/files/spec/spec_helper.rb
pah-0.0.20 lib/pah/files/spec/spec_helper.rb
pah-0.0.19 lib/pah/files/spec/spec_helper.rb
pah-0.0.17 lib/pah/files/spec/spec_helper.rb
pah-0.0.16 lib/pah/files/spec/spec_helper.rb
pah-0.0.15 lib/pah/files/spec/spec_helper.rb