spec/connection_spec.rb in fakeredis-0.3.3 vs spec/connection_spec.rb in fakeredis-0.4.0

- old
+ new

@@ -5,28 +5,18 @@ before(:each) do @client = Redis.new end - if fakeredis? it "should authenticate to the server" do - @client.auth("pass").should be == "OK" + @client.auth("pass").should == "OK" end - it "should not error with shutdown" do - lambda { @client.shutdown }.should_not raise_error - end - - it "should not error with quit" do - lambda { @client.quit }.should_not raise_error - end - end - it "should echo the given string" do - @client.echo("something").should be == "something" + @client.echo("something").should == "something" end it "should ping the server" do - @client.ping.should be == "PONG" + @client.ping.should == "PONG" end end end