aboutsummaryrefslogblamecommitdiffstats
path: root/spec/features/refinery/blog/admin/menu_spec.rb
blob: 3411c6c0b417796ea8b48a539b466f8a80436faa (plain) (tree)
1
2
3
4
5
6
7

                     
                                             
                                    
 
                                               
                                  





                                                     
require 'spec_helper'

describe "Blog menu entry", type: :feature do
  refinery_login_with :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