spec/shelly/client_spec.rb in shelly-0.4.42 vs spec/shelly/client_spec.rb in shelly-0.5.0
- old
+ new
@@ -169,12 +169,13 @@
end
describe "#create_app" do
it "should send post with app's attributes" do
@client.should_receive(:post).with("/apps", :app => {:code_name => "foo",
- :ruby_version => "1.9.2"}, :organization_name => "foo", :zone => 'eu1')
+ :ruby_version => "1.9.2"}, :organization_name => "foo", :region => 'EU',
+ :zone => nil)
@client.create_app(:code_name => "foo", :ruby_version => "1.9.2",
- :organization_name => "foo", :zone => "eu1")
+ :organization_name => "foo", :region => "EU", :zone => nil)
end
end
describe "#organizations" do
it "should fetch organizations from API" do