Permalink
Browse files

Match the actual output of the heroku stack command.

  • Loading branch information...
1 parent 61d3ee8 commit 3180ad2ea6589d4034b4856d04be64a42d14b2f5 Gabe Berke-Williams committed Oct 21, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/support/heroku.rb
View
@@ -1,7 +1,7 @@
shared_context "when on Cedar" do
let(:command_line) { mock("Kumade::CommandLine") }
let(:stack_command) { "bundle exec heroku stack --remote staging" }
- let(:heroku_output) { ["aspen-mri-1.8.6", "bamboo-mri-1.9.2", "bamboo-ree-1.8.7", "* cedar (beta)"].map { |s| " #{s}"}.join("\n") }
+ let(:heroku_output) { ["aspen-mri-1.8.6", "bamboo-mri-1.9.2", "bamboo-ree-1.8.7", "* cedar (beta)"].join("\n") }
before do
Kumade::CommandLine.expects(:new).with(stack_command).returns(command_line)
@@ -13,7 +13,7 @@
shared_context "when not on Cedar" do
let(:command_line) { mock("Kumade::CommandLine") }
let(:stack_command) { "bundle exec heroku stack --remote staging" }
- let(:heroku_output) { ["aspen-mri-1.8.6", "* bamboo-mri-1.9.2", "bamboo-ree-1.8.7", "cedar (beta)"].map {|s| " #{s}" }.join("\n") }
+ let(:heroku_output) { ["aspen-mri-1.8.6", "* bamboo-mri-1.9.2", "bamboo-ree-1.8.7", "cedar (beta)"].join("\n") }
before do
Kumade::CommandLine.expects(:new).with(stack_command).returns(command_line)

0 comments on commit 3180ad2

Please sign in to comment.