diff options
author | Brendan Deere <brendan@stembolt.com> | 2016-10-03 13:51:36 -0700 |
---|---|---|
committer | Brendan Deere <brendan@stembolt.com> | 2016-10-03 13:51:36 -0700 |
commit | eb2524e307409161bc68358b3834f293faae365c (patch) | |
tree | 37c36b849b16cee789c892815f9f236d6a7593e3 /spec/controllers | |
parent | b79c284b90e69e37367b2bb7453e0acd8d7fdb78 (diff) |
Add Admin::SubscriptionsController
This controller is responsible for admin actions related to
SolidusSubscriptions::Subcriptions
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/spree/admin/subscriptions_controller_spec.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/controllers/spree/admin/subscriptions_controller_spec.rb b/spec/controllers/spree/admin/subscriptions_controller_spec.rb new file mode 100644 index 0000000..b5eb0af --- /dev/null +++ b/spec/controllers/spree/admin/subscriptions_controller_spec.rb @@ -0,0 +1,13 @@ +require 'rails_helper' + +RSpec.describe Spree::Admin::SubscriptionsController, type: :controller do + routes { Spree::Core::Engine.routes } + stub_authorization! + + describe 'get /admin/subscriptions' do + subject { get :index } + + it { is_expected.to be_successful } + it { is_expected.to render_template :index } + end +end |