spec/shelly/app_spec.rb in shelly-0.1.34 vs spec/shelly/app_spec.rb in shelly-0.1.35

- old
+ new

@@ -45,17 +45,10 @@ @app.databases = %w{none postgresql} @app.databases.should == ['postgresql'] end end - describe "#collaborations" do - it "should fetch app's users" do - @client.should_receive(:collaborations).with("foo-staging") - @app.collaborations - end - end - describe "#add_git_remote" do before do @app.stub(:git_url).and_return("git@git.shellycloud.com:foo-staging.git") @app.stub(:system) end @@ -281,10 +274,11 @@ it "should create the app on shelly cloud via API client" do @app.code_name = "fooo" @app.redeem_code = "foo123" attributes = { :code_name => "fooo", - :redeem_code => "foo123" + :redeem_code => "foo123", + :organization_name => nil } @client.should_receive(:create_app).with(attributes).and_return("git_url" => "git@git.shellycloud.com:fooo.git", "domains" => %w(fooo.shellyapp.com)) @app.create end