spec/shelly/app_spec.rb in shelly-0.5.5 vs spec/shelly/app_spec.rb in shelly-0.5.6

- old
+ new

@@ -424,10 +424,10 @@ describe "#rake" do it "should return result of rake task" do @client.stub(:tunnel).and_return( {"host" => "console.example.com", "port" => "40010", "user" => "foo"}) - @app.should_receive(:childprocess).with("ssh -o StrictHostKeyChecking=no -p 40010 -l foo -t -t console.example.com rake_runner \"test\"") + @app.should_receive(:childprocess).with("ssh -o StrictHostKeyChecking=no -p 40010 -l foo -t -t console.example.com rake_runner '\"test\"'") @app.rake("test") end context "when server option is present" do it "should run rake task on given server" do