Sha256: 394595f175fbb0ee5eb088b0800b0a0ddb4be522b70b69848dac2f14a7545a3d

Contents?: true

Size: 585 Bytes

Versions: 1

Compression:

Stored size: 585 Bytes

Contents

if RUBY_VERSION =~ /1\.9/ && RUBY_ENGINE == 'ruby'
  require 'simplecov'

  SimpleCov.start do
    add_filter "/spec"
  end

  SimpleCov.at_exit do
    File.open(File.join(SimpleCov.coverage_path, 'percent.txt'), 'w') do |f|
      f.write SimpleCov.result.covered_percent
    end
    SimpleCov.result.format!
  end
end

require 'active_model'
require 'prevent_blankification_validator'

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
  config.order = 'random'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prevent_blankification_validator-0.0.1 spec/spec_helper.rb