spec/commands/watch_spec.rb in mock_redis-0.4.1 vs spec/commands/watch_spec.rb in mock_redis-0.5.0
- old
+ new
@@ -1,7 +1,7 @@
require 'spec_helper'
describe '#watch(key)' do
- it "responds with 'OK'" do
- @redises.watch('mock-redis-test').should == 'OK'
+ it "responds with nil" do
+ @redises.watch('mock-redis-test').should be_nil
end
end