Sha256: 0815ce3b5b7955ea9a559f6ffca2b2e26f084bdfc07978409e935c132c3be2fc

Contents?: true

Size: 717 Bytes

Versions: 3

Compression:

Stored size: 717 Bytes

Contents

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

begin; require 'pry'; rescue LoadError; end

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

3 entries across 3 versions & 1 rubygems

Version Path
minimart-1.0.2 spec/spec_helper.rb
minimart-1.0.1 spec/spec_helper.rb
minimart-0.0.1 spec/spec_helper.rb