diff --git a/test/integration/naked_test.exs b/test/integration/naked_test.exs index cfa610e..3a557cd 100644 --- a/test/integration/naked_test.exs +++ b/test/integration/naked_test.exs @@ -81,7 +81,7 @@ defmodule DrabTestApp.NakedTest do assert String.contains?( log, - "handler Elixir.DrabTestApp.LoneCommander.non_public_handler must be declared as public in the commander." + "handler DrabTestApp.LoneCommander.non_public_handler must be declared as public in the commander." ) end diff --git a/test/integration/shared_test.exs b/test/integration/shared_test.exs index 4cd564a..5a86b42 100644 --- a/test/integration/shared_test.exs +++ b/test/integration/shared_test.exs @@ -27,7 +27,7 @@ defmodule DrabTestApp.SharedTest do @tag capture_log: true test "should raise" do assert_raise RuntimeError, - ~r/is not declared in Elixir.DrabTestApp.ShareController/s, + ~r/is not declared in DrabTestApp.ShareController/s, fn -> click_and_wait("not-defined-controller-button") end end end diff --git a/test/support/web/commanders/live_commander.ex b/test/support/web/commanders/live_commander.ex index 4ff9be0..2f2629d 100644 --- a/test/support/web/commanders/live_commander.ex +++ b/test/support/web/commanders/live_commander.ex @@ -10,7 +10,7 @@ defmodule DrabTestApp.LiveCommander do def page_loaded(socket) do DrabTestApp.IntegrationCase.add_page_loaded_indicator(socket) DrabTestApp.IntegrationCase.add_pid(socket) - # poke(socket, text: "set in the commander") + poke(socket, text: "set in the commander") put_store socket, :current_user_id, 44 end diff --git a/test/support/web/templates/live/mini.html.drab b/test/support/web/templates/live/mini.html.drab index c8ba3fb..203182f 100644 --- a/test/support/web/templates/live/mini.html.drab +++ b/test/support/web/templates/live/mini.html.drab @@ -2,7 +2,7 @@
Test
- +
<%= @text %>