aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features/refinery/blog/admin/menu_spec.rb
blob: 748d5c3e53bcbed22ce755f3ab3b29c5efa762bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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" }

    expect(page).to have_css("a.active", :text => "Blog")
  end
end