spec/shelly/app_spec.rb in shelly-0.0.17 vs spec/shelly/app_spec.rb in shelly-0.0.18

- old
+ new

@@ -39,11 +39,11 @@ @app.stub(:git_url).and_return("git@git.shellycloud.com:foo-staging.git") @app.stub(:system) end it "should try to remove existing git remote" do - @app.should_receive(:system).with("git remote rm production &> /dev/null") + @app.should_receive(:system).with("git remote rm production > /dev/null 2>&1") @app.add_git_remote end it "should add git remote with proper name and git repository" do @app.should_receive(:system).with("git remote add production git@git.shellycloud.com:foo-staging.git") @@ -152,11 +152,11 @@ attributes = { :code_name => "boo", :name => "boo", :environment => "production", :ruby_version => "MRI-1.9.2", - :domain_name => ["boo.shellyapp.com", "boo.example.com"] + :domain_name => "boo.shellyapp.com boo.example.com" } @client.should_receive(:create_app).with(attributes).and_return("git_url" => "git@git.shellycloud.com:fooo.git", "domain_name" => "boo.shellyapp.com boo.example.com") @app.create end @@ -168,5 +168,6 @@ @app.domains.should == ["boo.shellyapp.com", "boo.example.com"] end end end end +