spec/commands/persist_spec.rb in mock_redis-0.11.0 vs spec/commands/persist_spec.rb in mock_redis-0.12.0

- old
+ new

@@ -33,16 +33,16 @@ @mock = @redises.mock end before do @now = Time.now - Time.stub!(:now).and_return(@now) + Time.stub(:now).and_return(@now) end it "makes keys stay around" do @mock.expire(@key, 5) @mock.persist(@key) - Time.stub!(:now).and_return(@now + 5) + Time.stub(:now).and_return(@now + 5) @mock.get(@key).should_not be_nil end end end