spec/api/configuration_spec.rb in deepl-rb-2.2.4 vs spec/api/configuration_spec.rb in deepl-rb-2.3.0
- old
+ new
@@ -14,10 +14,10 @@
expect(subject.version).to eq('v2')
end
end
context 'When using custom configuration attributes' do
- let(:attributes) { { auth_key: 'SAMPLE', host: 'http://www.example.org', version: 'v1' } }
+ let(:attributes) { { auth_key: 'SAMPLE', host: 'https://api-free.deepl.com', version: 'v1' } }
it 'should use custom attributes' do
expect(subject.auth_key).to eq(attributes[:auth_key])
expect(subject.host).to eq(attributes[:host])
expect(subject.version).to eq(attributes[:version])