lib/submodules/ably-ruby/spec/unit/rest/channel_spec.rb in ably-rest-0.8.2 vs lib/submodules/ably-ruby/spec/unit/rest/channel_spec.rb in ably-rest-0.8.3

- old
+ new

@@ -95,15 +95,7 @@ it 'raises an argument error' do expect { subject.publish(encoded_value, 'data') }.to raise_error ArgumentError, /must be a String/ end end - - context 'as Nil' do - let(:encoded_value) { nil } - - it 'raises an argument error' do - expect { subject.publish(encoded_value, 'data') }.to raise_error ArgumentError, /must be a String/ - end - end end end