spec/commands/scard_spec.rb in mock_redis-0.14.1 vs spec/commands/scard_spec.rb in mock_redis-0.15.0

- old
+ new

@@ -1,18 +1,18 @@ require 'spec_helper' describe '#scard(key)' do before { @key = 'mock-redis-test:scard' } - it "returns 0 for an empty set" do + it 'returns 0 for an empty set' do @redises.scard(@key).should == 0 end - it "returns the number of elements in the set" do + it 'returns the number of elements in the set' do @redises.sadd(@key, 'one') @redises.sadd(@key, 'two') @redises.sadd(@key, 'three') @redises.scard(@key).should == 3 end - it_should_behave_like "a set-only command" + it_should_behave_like 'a set-only command' end