Sha256: 34ba4fefb715d96c1584d019be4673752a52401864c671c0624c1815d83323f4
Contents?: true
Size: 569 Bytes
Versions: 1
Compression:
Stored size: 569 Bytes
Contents
require 'spec_helper' describe Aptible::Comply do subject { Aptible::Comply::Protocol.new } it 'should have a configurable root_url' do config = described_class.configuration expect(config).to be_a GemConfig::Configuration expect(config.root_url).to eq 'https://comply-api.aptible.com' end skip 'uses ENV["APTIBLE_COMPLY_ROOT_URL"] if defined' do config = described_class.configuration with_env 'APTIBLE_COMPLY_ROOT_URL', 'http://foobar.com' do config.reset expect(config.root_url).to eq 'http://foobar.com' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aptible-comply-0.1.0 | spec/aptible/comply_spec.rb |