diff options
author | Brendan Deere <brendan@stembolt.com> | 2016-10-07 11:16:16 -0700 |
---|---|---|
committer | Brendan Deere <brendan@stembolt.com> | 2016-10-07 11:40:50 -0700 |
commit | fc5349bd1fdf5c2040e03bd8aad6d2be1f8ab156 (patch) | |
tree | cab09ea1d22657a6b22169551ec1f66daaee9f38 /spec | |
parent | a6fac85f3f85dfa66e67a65e0d03cb330bef1566 (diff) |
Add subs link feature spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/admin_link_spec.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/features/admin_link_spec.rb b/spec/features/admin_link_spec.rb new file mode 100644 index 0000000..e0fedc0 --- /dev/null +++ b/spec/features/admin_link_spec.rb @@ -0,0 +1,11 @@ +require 'rails_helper' + +RSpec.feature 'Subscriptions admin link', type: :feature do + stub_authorization! + + scenario 'Navigating to the subscriptions backend' do + visit '/admin' + click_on "Subscriptions" + expect(page.current_path).to match /admin\/subscriptions/ + end +end |