Sha256: a96257581f6317d2f62dd33d7714b333ab1984d4fefbf338b1067a2fef50bc10

Contents?: true

Size: 673 Bytes

Versions: 1

Compression:

Stored size: 673 Bytes

Contents

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

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.8 features/support/env.rb