spec/ethon/easy/informations_spec.rb in ethon-0.8.1 vs spec/ethon/easy/informations_spec.rb in ethon-0.9.0
- old
+ new
@@ -86,10 +86,10 @@
end
end
describe "#supports_zlib?" do
it "returns true" do
- Kernel.should_receive(:warn) #deprecation warning
+ expect(Kernel).to receive(:warn)
expect(easy.supports_zlib?).to be_truthy
end
end