Sha256: b8621b98b362d53fd3400491d87ac3b3176d493837834101cf885be407a98283
Contents?: true
Size: 479 Bytes
Versions: 2
Compression:
Stored size: 479 Bytes
Contents
RSpec.describe Percy::Client do describe '#base_url' do it 'returns the base API URL' do expect(Percy.client.base_url).to eq('http://localhost:3000') end end describe '#base_path' do it 'returns the base API URL path' do expect(Percy.client.base_path).to eq('/api/v1') end end describe '#full_base' do it 'returns the full base API URL path' do expect(Percy.client.full_base).to eq('http://localhost:3000/api/v1') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
percy-client-0.1.1 | spec/lib/percy/client_spec.rb |
percy-client-0.1.0 | spec/lib/percy/client_spec.rb |