Sha256: d314e528ddea82c0d73c25f32cb8a5d77296f0c10390da03a176f1937977d6a0

Contents?: true

Size: 632 Bytes

Versions: 2

Compression:

Stored size: 632 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/cassettes'
  c.hook_into :webmock
  c.filter_sensitive_data('<OAuth Credentials>') do |interaction|
    interaction.request.headers['Authorization'].first
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
troo-0.0.11 features/support/env.rb
troo-0.0.10 features/support/env.rb