blob: 64f6461fd6b9eefc6d19763cd0fdd9ebb8c86d1f (
plain) (
tree)
|
|
require 'spec_helper'
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
within("#menu") { click_link "Blog" }
expect(page).to have_css("a.active", :text => "Blog")
end
end
end
end
end
|