lib/submodules/ably-ruby/spec/acceptance/rest/channel_spec.rb in ably-rest-0.9.0 vs lib/submodules/ably-ruby/spec/acceptance/rest/channel_spec.rb in ably-rest-0.9.1

- old
+ new

@@ -358,13 +358,10 @@ describe '#history option' do let(:channel_name) { "persisted:#{random_str(4)}" } let(:channel) { client.channel(channel_name) } let(:endpoint) do - client.endpoint.tap do |client_end_point| - client_end_point.user = key_name - client_end_point.password = key_secret - end + client.endpoint end let(:default_history_options) do { direction: :backwards, limit: 100