Sha256: 987e9bb6687dfc0acce5c8053cdd1416bd695d9c7b6006e6322c34bb6a27c4d0

Contents?: true

Size: 893 Bytes

Versions: 2

Compression:

Stored size: 893 Bytes

Contents

require 'rspec'
require 'webmock/rspec'
require 'simplecov'
require 'coveralls'
require 'dotenv'

Dotenv.load File.expand_path(
  File.join(File.dirname(__FILE__), '../', '.test.env')
)

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

SimpleCov.start do
  add_filter '/spec/'
  minimum_coverage(95.0)
end

require_relative '../lib/git_duplicator.rb'
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
  config.run_all_when_everything_filtered = true
  # Run specs in random order to surface order dependencies. If you find an
  # order dependency and want to debug it, you can fix the order by providing
  # the seed, which is printed after each run.
  # --seed 1234
  config.order = 'random'
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
git_duplicator-1.0.0 spec/helper.rb
git_duplicator-0.0.1 spec/helper.rb