Sha256: 32439a0ef69e0e6ab62e3acbc8a19d1ee5d8dd54413e17229136084712c8d3f7

Contents?: true

Size: 682 Bytes

Versions: 1

Compression:

Stored size: 682 Bytes

Contents

require 'simplecov'
require 'coveralls'

SimpleCov.start do
  add_filter "/spec"
end

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter
]

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
SimpleCov.start

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.1.0 spec/spec_helper.rb