1
0
mirror of synced 2026-08-06 23:27:03 +00:00

Plans, subscriptions

* Plans controller
* Subscription controller
* Clean admin controller
* Ember Plans route
* Index page
* New Plans
* Translations
This commit is contained in:
Rimian Perkins
2019-09-24 16:04:42 +10:00
parent dfef3c49cf
commit 0d82bcf37e
14 changed files with 47 additions and 21 deletions
@@ -13,9 +13,10 @@ module DiscoursePatrons
expect(DiscoursePatrons::SubscriptionsController < Admin::AdminController).to eq(true)
end
it "is ok" do
it "gets the empty subscriptions" do
::Stripe::Subscription.expects(:list)
get "/patrons/admin/subscriptions.json"
expect(response.status).to eq(200)
expect(response.status).to eq(204)
end
end
end