Fix admin hooks spec

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2016-06-15 18:47:43 +03:00
parent 6d10d8251c
commit bcbe9b4de8
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
1 changed files with 3 additions and 1 deletions

View File

@ -12,9 +12,11 @@ describe "Admin::Hooks", feature: true do
describe "GET /admin/hooks" do
it "should be ok" do
visit admin_root_path
page.within ".sidebar-wrapper" do
page.within ".layout-nav" do
click_on "Hooks"
end
expect(current_path).to eq(admin_hooks_path)
end