Sha256: ae71780e6ba08429d4e3a0b161a79a41ddccb91886b1d4c4f906d0308145afef

Contents?: true

Size: 746 Bytes

Versions: 6

Compression:

Stored size: 746 Bytes

Contents

begin
  require 'simplecov'
  SimpleCov.start do
    add_filter '/spec/'
  end
rescue LoadError
end

begin; require 'pry'; rescue LoadError; end

require 'dotenv'
Dotenv.load
require 'rspec'
require 'vcr'
require 'webmock/rspec'

require 'minimart'
require 'minimart/commands/mirror'
require 'minimart/commands/web'

Dir['spec/support/*.rb'].each { |f| require File.expand_path(f) }

VCR.configure do |c|
  c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
  c.hook_into :webmock
end

RSpec.configure do |config|
  config.include Minimart::RSpecSupport::FileSystem

  config.before(:each) { make_test_directory }
  config.after(:each) { remove_test_directory }

  config.mock_with :rspec

  Minimart::Configuration.output = StringIO.new
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
minimart-1.2.5 spec/spec_helper.rb
minimart-1.2.4 spec/spec_helper.rb
minimart-1.2.3 spec/spec_helper.rb
minimart-1.2.0 spec/spec_helper.rb
minimart-1.1.6 spec/spec_helper.rb
minimart-1.1.3 spec/spec_helper.rb