spec/rspec_config.rb in ably-0.7.6 vs spec/rspec_config.rb in ably-0.8.0
- old
+ new
@@ -30,11 +30,12 @@
end
config.before(:example, :webmock) do
allow(TestApp).to receive(:instance).and_return(instance_double('TestApp',
app_id: 'app_id',
- key_id: 'app_id.key_id',
- api_key: 'app_id.key_id:secret',
+ key_name: 'app_id.key_name',
+ key_secret: 'secret',
+ api_key: 'app_id.key_name:secret',
environment: 'sandbox'
))
WebMock.enable!
end