aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features/refinery/blog/admin/menu_spec.rb
diff options
context:
space:
mode:
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