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

- old
+ new

@@ -28,10 +28,10 @@ @mock = @redises.mock end before do @now = Time.now.round - Time.stub!(:now).and_return(@now) + Time.stub(:now).and_return(@now) end it "gives you the key's remaining lifespan in milliseconds" do @mock.expire(@key, 5) @mock.pttl(@key).should == 5000