Sha256: f651ecc990a21ae27cdd1ab3c3b8f389a7db30a2122edc44094e1ce12f2b1f79

Contents?: true

Size: 685 Bytes

Versions: 2

Compression:

Stored size: 685 Bytes

Contents

require 'simplecov'
require 'securerandom'

SimpleCov.start do
  add_filter '/spec/'
end

require 'we_transfer_client'
require 'pry'
require 'rspec'
require 'bundler'
Bundler.setup
require 'tempfile'
require 'dotenv'
Dotenv.load

module SpecHelpers
  def fixtures_dir
    __dir__ + '/fixtures/'
  end

  def test_logger
    Logger.new($stderr).tap { |log| log.level = Logger::WARN }
  end
end

RSpec.configure do |config|
  config.include SpecHelpers
  config.extend SpecHelpers

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.filter_run :focus
  config.run_all_when_everything_filtered = true
  config.default_formatter = 'doc'
  config.order = :random
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wetransfer-0.9.0.beta1 spec/spec_helper.rb
wetransfer-0.9.0.beta spec/spec_helper.rb