Fix admin hooks spec
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
6d10d8251c
commit
bcbe9b4de8
|
@ -12,9 +12,11 @@ describe "Admin::Hooks", feature: true do
|
||||||
describe "GET /admin/hooks" do
|
describe "GET /admin/hooks" do
|
||||||
it "should be ok" do
|
it "should be ok" do
|
||||||
visit admin_root_path
|
visit admin_root_path
|
||||||
page.within ".sidebar-wrapper" do
|
|
||||||
|
page.within ".layout-nav" do
|
||||||
click_on "Hooks"
|
click_on "Hooks"
|
||||||
end
|
end
|
||||||
|
|
||||||
expect(current_path).to eq(admin_hooks_path)
|
expect(current_path).to eq(admin_hooks_path)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue