Sha256: e8c2e98a498558bbc2ddf86aeaa45b87f15bf5dda539e32e7748622efcecac0c

Contents?: true

Size: 888 Bytes

Versions: 3

Compression:

Stored size: 888 Bytes

Contents

require 'dotenv'
Dotenv.load

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'rspec'
require 'vcr'
require 'webmock'
require 'eucalyptus'
require 'pry'

VCR.configure do |config|
  config.cassette_library_dir = "fixtures/vcr_cassettes"
  config.hook_into :webmock
  config.default_cassette_options = {record: :new_episodes}
  config.filter_sensitive_data('<TOKEN>') { ENV['ACCESS_TOKEN'] }
end

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  config.before do
    Eucalyptus.configure do |config|
      config.access_token = ENV["ACCESS_TOKEN"]
      config.default_account_id = ENV["DEFAULT_ACCOUNT_ID"]
      config.api_version = "v2.3"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
eucalyptus-1.2.2 spec/spec_helper.rb
eucalyptus-1.2.1 spec/spec_helper.rb
eucalyptus-1.2.0 spec/spec_helper.rb