Skip to content

Commit

Permalink
fixed broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grych committed Jun 29, 2018
1 parent 3c9d279 commit 0e6f2bb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/integration/naked_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion test/integration/shared_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/support/web/commanders/live_commander.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion test/support/web/templates/live/mini.html.drab
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div id="drab_pid" style="display: none;"></div>

<div id="top-pane"><span class="helper"></span><span id="user-name">Test</span></div>

<div><%= @text %></div>
<div id="<%= @current_week_monday %>" style="display: none;"></div>
<div id="weekdays">
<img src="<%= @current_week_monday %>" class="arrow ar-right" drab="click:next_week">
Expand Down

0 comments on commit 0e6f2bb

Please sign in to comment.