spec/models/commands_spec.rb in rmpd-1.1.13 vs spec/models/commands_spec.rb in rmpd-1.1.15

- old
+ new

@@ -60,17 +60,15 @@ @conn.volume(0) end end describe "kill" do - before(:each) do - set_password - end - it "should kill the daemon" do + set_password @socket.should_receive(:puts).with("kill") @socket.stub!(:readline).and_return(*connect_and_auth_responses) @socket.should_receive(:close) + @conn.connect @conn.kill end end describe "playlistinfo" do