Sha256: ec386bace86c5ffc58fd200b12284d308b43fc284a5fe34541004dd433fa42f5

Contents?: true

Size: 693 Bytes

Versions: 1

Compression:

Stored size: 693 Bytes

Contents

require 'simplecov'
require 'aruba'
require 'aruba/cucumber'
require 'aruba/in_process'
require 'ohm'
require 'vcr'
require 'webmock/cucumber'
require 'mocha/api'

SimpleCov.start do
  add_filter   '/test/'
end

require_relative '../../lib/troo.rb'

class CucumberError < StandardError; end

Aruba::InProcess.main_class = Troo::Launcher
Aruba.process = Aruba::InProcess

WebMock.disable_net_connect!

VCR.configure do |c|
  c.cassette_library_dir = 'features/support/fixtures/cassettes'
  c.hook_into :webmock
  # c.debug_logger = File.open("logs/vcr.log", 'w')
  c.filter_sensitive_data('<OAuth Credentials>') do |interaction|
    interaction.request.headers['Authorization'].first
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
troo-0.0.9 features/support/env.rb