Sha256: 2d741af3e66ac1f6e7beb10283cb3ba844a2dd220801893f884e376fa8713384

Contents?: true

Size: 882 Bytes

Versions: 4

Compression:

Stored size: 882 Bytes

Contents

require 'rspec'
require 'rspec/its'
require 'webmock/rspec'
require 'vcr'
require 'codeclimate-test-reporter'

# Must be called before code is included/required!
CodeClimate::TestReporter.start

require 'support/helpers'
require 'support/shared_examples'

require File.expand_path('../../lib/rundeck', __FILE__)

WebMock.disable_net_connect!(allow: 'codeclimate.com')

RSpec.configure do |config|
  config.include Helpers

  config.before(:each) do
    # Configuration for Anvils Demo Vagrant Box. API token might change.
    Rundeck.endpoint = 'http://192.168.50.2:4440'
    Rundeck.api_token = 'cbsQgUIZBOyCgoipJAwKd1YgfcwPJ0FY'
    WebMock.reset!
  end
end

VCR.configure do |config|
  config.cassette_library_dir = "spec/cassettes/#{Rundeck.api_version}"
  config.hook_into :webmock
  config.allow_http_connections_when_no_cassette = true
  config.configure_rspec_metadata!
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rundeck-1.2.0 spec/spec_helper.rb
rundeck-1.1.0 spec/spec_helper.rb
rundeck-1.0.2 spec/spec_helper.rb
rundeck-1.0.1 spec/spec_helper.rb