Skip to content

Commit

Permalink
Merge pull request #90 from aleph-naught2tog/patch-2
Browse files Browse the repository at this point in the history
Corrects typo in render_event helper
  • Loading branch information
chrismccord committed Mar 19, 2019
2 parents 0a87fdc + 55cd74f commit c71c08e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix_live_view/test/live_view_test.ex
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ defmodule Phoenix.LiveViewTest do
assert render_keyup(view, :inc, :ArrowUp) =~ "The temp is: 32℉"
"""
def render_keyup(view, event, key_code) do
render_event(view, :keypress, event, key_code)
render_event(view, :keyup, event, key_code)
end

@doc """
Expand Down

0 comments on commit c71c08e

Please sign in to comment.