diff options
author | Philip Arndt <git@p.arndt.io> | 2016-05-31 15:03:10 +1200 |
---|---|---|
committer | Philip Arndt <git@p.arndt.io> | 2016-05-31 15:03:10 +1200 |
commit | 8feff5c51669a83a167cf9727f914b2a5e4937e7 (patch) | |
tree | 3d196857048582fcb83f1b21a640c14e2508bc72 /spec/features/refinery/blog/admin/menu_spec.rb | |
parent | dce7da10f8151a9e1ebc3f2cacfb80d207048313 (diff) | |
parent | feee12b1037904aed72d44d42d8d27841cb6cda4 (diff) | |
download | refinerycms-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.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 |