spec/shelly/app_spec.rb in shelly-0.0.51 vs spec/shelly/app_spec.rb in shelly-0.0.52
- old
+ new
@@ -306,6 +306,12 @@
describe "#to_s" do
it "should return code_name" do
@app.to_s.should == "foo-staging"
end
end
+
+ describe "#edit_billing_url" do
+ it "should return link to edit billing page for app" do
+ @app.edit_billing_url.should == "http://shellyapp.example.com/apps/foo-staging/billing/edit"
+ end
+ end
end