test/fixtures/disco_app/subscriptions.yml in disco_app-0.8.7 vs test/fixtures/disco_app/subscriptions.yml in disco_app-0.8.8
- old
+ new
@@ -1,26 +1,21 @@
-widget_store_old:
+old_widget_store_subscription:
shop: widget_store
plan: cheapo
- status: <%= DiscoApp::Subscription.statuses[:replaced] %>
- name: Cheapo
- charge_type: 0
- price: 0.99
- trial_days: 14
+ amount: 99
+ status: <%= DiscoApp::Subscription.statuses[:cancelled] %>
+ subscription_type: 0
+ cancelled_at: <%= 1.week.ago.to_s(:db) %>
-widget_store:
+current_widget_store_subscription:
shop: widget_store
plan: basic
+ amount: 999
status: <%= DiscoApp::Subscription.statuses[:active] %>
- name: Basic
- charge_type: 0
- price: 9.99
- trial_days: 14
+ subscription_type: 0
-widget_store_dev:
+current_widget_store_dev_subscription:
shop: widget_store_dev
- plan: development
+ plan: lifetime
+ amount: 4900
status: <%= DiscoApp::Subscription.statuses[:active] %>
- name: Development
- charge_type: 0
- price: 0.00
- trial_days: 0
+ subscription_type: 1