spec/toy/logger_spec.rb in toystore-0.8.0 vs spec/toy/logger_spec.rb in toystore-0.8.1

- old
+ new

@@ -14,20 +14,18 @@ describe ".log_operation" do let(:adapter) { Adapter[:memory].new({}) } it "logs operation" do User.logger.should_receive(:debug).with('ToyStore GET User :memory "foo"') - User.logger.should_receive(:debug).with(' "bar"') User.log_operation(:get, User, adapter, 'foo', 'bar') end end describe "#log_operation" do let(:adapter) { Adapter[:memory].new({}) } it "logs operation" do User.logger.should_receive(:debug).with('ToyStore GET User :memory "foo"') - User.logger.should_receive(:debug).with(' "bar"') User.log_operation(:get, User, adapter, 'foo', 'bar') end end end \ No newline at end of file