spec/shelly/cli/main_spec.rb in shelly-0.1.36 vs spec/shelly/cli/main_spec.rb in shelly-0.1.37.pre
- old
+ new
@@ -1191,11 +1191,11 @@
lambda { invoke(@main, :logs) }.should raise_error(SystemExit)
end
it "should show logs for the cloud" do
@client.stub(:application_logs).and_return(@sample_logs)
- $stdout.should_receive(:puts).with(" app1 | log1\n")
- $stdout.should_receive(:puts).with(" app1 | log2\n")
+ $stdout.should_receive(:puts).with("app1 log1")
+ $stdout.should_receive(:puts).with("app1 log2")
invoke(@main, :logs)
end
it "should show requested amount of logs" do
@client.should_receive(:application_logs).