spec/lib/protobuf/rpc/middleware/logger_spec.rb in protobuf-3.0.4 vs spec/lib/protobuf/rpc/middleware/logger_spec.rb in protobuf-3.0.5

- old
+ new

@@ -36,14 +36,14 @@ subject { described_class.new(app) } describe "#call" do it "calls the stack" do - app.should_receive(:call).with(env) + expect(app).to receive(:call).with(env).and_return(env) subject.call(env) end it "returns the env" do - subject.call(env).should eq env + expect(subject.call(env)).to eq env end end end