spec/commands/smembers_spec.rb in mock_redis-0.4.1 vs spec/commands/smembers_spec.rb in mock_redis-0.5.0

- old
+ new

@@ -6,13 +6,13 @@ it "returns [] for an empty set" do @redises.smembers(@key).should == [] end it "returns the set's members" do - @redises.sadd(@key, 1) - @redises.sadd(@key, 2) - @redises.sadd(@key, 3) - @redises.smembers(@key).should == %w[1 2 3] + @redises.sadd(@key, "Hello") + @redises.sadd(@key, "World") + @redises.sadd(@key, "Test") + @redises.smembers(@key).should == %w[Test World Hello] end it_should_behave_like "a set-only command" end