spec/models/connection_spec.rb in rmpd-1.0.5 vs spec/models/connection_spec.rb in rmpd-1.1.0
- old
+ new
@@ -27,10 +27,11 @@
@socket.should_receive(:readline).and_return(*responses)
@conn.ping
end
it "should generate a server version" do
+ pending "Do I care anymore?"
version = "0.1.2"
responses = connect_response(version) + ok
@socket.should_receive(:readline).and_return(*responses)
@conn.ping # so we connect, and get the server version
@conn.server_version.should == version
@@ -42,9 +43,10 @@
@conn.ping
end.should raise_error(Rmpd::MpdError)
end
it "should restrict access based on server version" do
+ pending "Do I care anymore?"
responses = connect_response("0.1.0")
@socket.stub!(:readline).and_return(*responses)
@conn.instance_eval do
def sval(*args)
server_version_at_least(*args)