diff options
author | Brice Sanchez <contact@brice-sanchez.com> | 2016-05-30 00:37:53 -0400 |
---|---|---|
committer | Brice Sanchez <contact@brice-sanchez.com> | 2016-05-30 22:17:42 -0400 |
commit | b0019fd9acdf04292ff402e1b9d8528517ea7a63 (patch) | |
tree | 306fdd3ca18bca2b5fc38cd6916a5653676768ee /spec/features/refinery/blog/admin/menu_spec.rb | |
parent | eafbd3f3992dc735cbe8fe8efc8296a5c1dc2b78 (diff) | |
download | refinerycms-blog-b0019fd9acdf04292ff402e1b9d8528517ea7a63.tar.gz refinerycms-blog-b0019fd9acdf04292ff402e1b9d8528517ea7a63.tar.bz2 refinerycms-blog-b0019fd9acdf04292ff402e1b9d8528517ea7a63.zip |
Fix specs
Diffstat (limited to 'spec/features/refinery/blog/admin/menu_spec.rb')
-rw-r--r-- | spec/features/refinery/blog/admin/menu_spec.rb | 20 |
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 |