Sha256: 7e886cf37b0021dd5f850caa0ee2a5199390aeb9638014d7115c38f31ce22425

Contents?: true

Size: 585 Bytes

Versions: 5

Compression:

Stored size: 585 Bytes

Contents

if ENV['CI'] == 'true'
  require 'simplecov'
  require 'codecov'
  SimpleCov.formatter = SimpleCov::Formatter::Codecov
  SimpleCov.start do
    add_filter '/spec/'
  end
end

require 'rspec'
require 'linodeapi'
require 'webmock'

WebMock.enable!

require 'vcr'
VCR.configure do |c|
  c.cassette_library_dir = 'spec/fixtures/cassettes'
  c.hook_into :webmock
  c.filter_sensitive_data('<USER>') { ENV['LINODE_USERNAME'] || 'test' }
  c.filter_sensitive_data('<PASSWORD>') { ENV['LINODE_PASSWORD'] || 'test' }
  c.filter_sensitive_data('<APIKEY>') { ENV['LINODE_APIKEY'] || 'test' }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
linodeapi-2.0.3 spec/spec_helper.rb
linodeapi-2.0.2 spec/spec_helper.rb
linodeapi-2.0.1 spec/spec_helper.rb
linodeapi-2.0.0 spec/spec_helper.rb
linodeapi-1.0.1 spec/spec_helper.rb