spec/integration/yard/sinclair/config_spec.rb in sinclair-1.7.0 vs spec/integration/yard/sinclair/config_spec.rb in sinclair-1.8.0

- old
+ new

@@ -36,15 +36,15 @@ conf.password :some_password end end it 'returns options with correct values' do - expect(config.options.username).to eq(:some_username) - expect(config.options.password).to eq(:some_password) + expect(config.as_options.username).to eq(:some_username) + expect(config.as_options.password).to eq(:some_password) end context 'when merging with given attributes' do - subject(:options) { config.options(password: :correct_password) } + subject(:options) { config.as_options(password: :correct_password) } it 'returns options with custom values' do expect(options.username).to eq(:some_username) expect(options.password).to eq(:correct_password) end