spec/shelly/app_spec.rb in shelly-0.0.53 vs spec/shelly/app_spec.rb in shelly-0.0.54

- old
+ new

@@ -34,9 +34,16 @@ Shelly::App.guess_code_name.should == "foo-production1" end end end + describe "#databases=" do + it "should remove 'none' as possible database" do + @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