Skip to content

Commit 6b8e8f8

Browse files
committed
fix tests
1 parent 34f9ee8 commit 6b8e8f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/beacon/router_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ defmodule Beacon.RouterTest do
7676

7777
test "existing nested conflicting route", %{config: config} do
7878
valid_host = "host.com"
79-
refute Router.reachable?(config, host: valid_host, prefix: "/some_page")
79+
refute Router.reachable?(config, host: valid_host, prefix: "/nested/some_page")
8080
end
8181

8282
test "with no specific host", %{config: config} do

test/support/router.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule Beacon.BeaconTest.Router do
2121

2222
live_session :default do
2323
live "/", Beacon.BeaconTest.LiveViews.FooBarLive
24-
live "/:page", Beacon.BeaconTest.LiveViews.FooBarLive
24+
live "/nested/:page", Beacon.BeaconTest.LiveViews.FooBarLive
2525
end
2626
end
2727

0 commit comments

Comments
 (0)