Sha256: 43aa1ef63c95582e3c1683ab66ff4d19bd488e2af844649c79a29c8584921100
Contents?: true
Size: 548 Bytes
Versions: 104
Compression:
Stored size: 548 Bytes
Contents
require 'spec_helper' describe Aptible::Api do subject { Aptible::Api::App.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://api.aptible.com' end pending 'uses ENV["APTIBLE_API_ROOT_URL"] if defined' do config = described_class.configuration with_env 'APTIBLE_API_ROOT_URL', 'http://foobar.com' do config.reset expect(config.root_url).to eq 'http://foobar.com' end end end
Version data entries
104 entries across 104 versions & 1 rubygems