spec/lib/adapters/base_message_spec.rb in basquiat-1.2.0 vs spec/lib/adapters/base_message_spec.rb in basquiat-1.3.0.pre.1
- old
+ new
@@ -5,12 +5,6 @@
it 'delegates calls to the JSON' do
expect(message.fetch(:data)).to eq('everything is AWESOME!')
expect { message.fetch(:error) }.to raise_error KeyError
end
-
- [:ack?, :unack, :requeue, :delay_redelivery].each do |meth|
- it "raise a SubclassResponsibility error if #{meth} isn't implemented" do
- expect { message.public_send(meth) }.to raise_error Basquiat::Errors::SubclassResponsibility
- end
- end
end