diff options
author | Philip Arndt <parndt@gmail.com> | 2011-12-15 17:31:44 -0800 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2011-12-15 17:31:44 -0800 |
commit | 9a8d38ad789e6644bcd99b818b0ea7f561d080c0 (patch) | |
tree | 5833604ae953ccb5f5d05ed428ba254924960062 /spec/requests/refinery/admin/menu_spec.rb | |
parent | 7c63d8188e6f22e1a3224d30a7a6da10a36ba93c (diff) | |
parent | 8cc819aeed461da046af5bb120f6cd58c9299aa3 (diff) | |
download | refinerycms-blog-9a8d38ad789e6644bcd99b818b0ea7f561d080c0.tar.gz refinerycms-blog-9a8d38ad789e6644bcd99b818b0ea7f561d080c0.tar.bz2 refinerycms-blog-9a8d38ad789e6644bcd99b818b0ea7f561d080c0.zip |
Merge pull request #159 from substantial/fix_tab_highlighting_again
Fix tab highlighting
Diffstat (limited to 'spec/requests/refinery/admin/menu_spec.rb')
-rw-r--r-- | spec/requests/refinery/admin/menu_spec.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/requests/refinery/admin/menu_spec.rb b/spec/requests/refinery/admin/menu_spec.rb new file mode 100644 index 0000000..b02a473 --- /dev/null +++ b/spec/requests/refinery/admin/menu_spec.rb @@ -0,0 +1,13 @@ +require 'spec_helper' + +describe "Blog menu entry" do + login_refinery_user + + it "is highlighted when managing the blog" do + visit refinery_admin_root_path + + within("#menu") { click_link "Blog" } + + page.should have_css("a.active", :text => "Blog") + end +end |