aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features/refinery/blog/admin/menu_spec.rb
diff options
context:
space:
mode:
authorPhilip Arndt <git@p.arndt.io>2016-05-31 15:03:10 +1200
committerPhilip Arndt <git@p.arndt.io>2016-05-31 15:03:10 +1200
commit8feff5c51669a83a167cf9727f914b2a5e4937e7 (patch)
tree3d196857048582fcb83f1b21a640c14e2508bc72 /spec/features/refinery/blog/admin/menu_spec.rb
parentdce7da10f8151a9e1ebc3f2cacfb80d207048313 (diff)
parentfeee12b1037904aed72d44d42d8d27841cb6cda4 (diff)
downloadrefinerycms-blog-8feff5c51669a83a167cf9727f914b2a5e4937e7.tar.gz
refinerycms-blog-8feff5c51669a83a167cf9727f914b2a5e4937e7.tar.bz2
refinerycms-blog-8feff5c51669a83a167cf9727f914b2a5e4937e7.zip
Merge pull request #458 from refinery/bugfix/specs
Bugfix/specs
Diffstat (limited to 'spec/features/refinery/blog/admin/menu_spec.rb')
-rw-r--r--spec/features/refinery/blog/admin/menu_spec.rb20
1 files changed, 13 insertions, 7 deletions
diff --git a/spec/features/refinery/blog/admin/menu_spec.rb b/spec/features/refinery/blog/admin/menu_spec.rb
index 748d5c3..64f6461 100644
--- a/spec/features/refinery/blog/admin/menu_spec.rb
+++ b/spec/features/refinery/blog/admin/menu_spec.rb
@@ -1,13 +1,19 @@
require 'spec_helper'
-describe "Blog menu entry", type: :feature do
- refinery_login_with :refinery_user
+module Refinery
+ module Blog
+ module Admin
+ describe Menu, type: :feature do
+ refinery_login_with_devise :authentication_devise_refinery_superuser
- it "is highlighted when managing the blog" do
- visit refinery.admin_root_path
+ it "is highlighted when managing the blog" do
+ visit refinery.admin_root_path
- within("#menu") { click_link "Blog" }
+ within("#menu") { click_link "Blog" }
- expect(page).to have_css("a.active", :text => "Blog")
+ expect(page).to have_css("a.active", :text => "Blog")
+ end
+ end
+ end
end
-end
+end \ No newline at end of file