Skip to content

Commit

Permalink
Bump floki dep and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrenner committed Mar 2, 2021
1 parent 2cbf584 commit 5c8fbd9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion installer/templates/phx_single/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ defmodule <%= app_module %>.MixProject do
{:ecto_sql, "~> 3.4"},
{<%= inspect adapter_app %>, ">= 0.0.0"},<% end %><%= if html do %><%= if live do %>
{:phoenix_live_view, "~> 0.15.1"},
{:floki, ">= 0.27.0", only: :test},<% end %>
{:floki, ">= 0.30.0", only: :test},<% end %>
{:phoenix_html, "~> 2.11"},
{:phoenix_live_reload, "~> 1.2", only: :dev},<% end %><%= if dashboard do %>
{:phoenix_live_dashboard, "~> 0.4"},<% end %>
Expand Down
2 changes: 1 addition & 1 deletion installer/templates/phx_umbrella/apps/app_name_web/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ defmodule <%= web_namespace %>.MixProject do
<%= phoenix_dep %>,<%= if ecto do %>
{:phoenix_ecto, "~> 4.0"},<% end %><%= if html do %><%= if live do %>
{:phoenix_live_view, "~> 0.15.1"},
{:floki, ">= 0.27.0", only: :test},<% end %>
{:floki, ">= 0.30.0", only: :test},<% end %>
{:phoenix_html, "~> 2.11"},
{:phoenix_live_reload, "~> 1.2", only: :dev},<% end %><%= if dashboard do %>
{:phoenix_live_dashboard, "~> 0.4"},<% end %>
Expand Down
6 changes: 3 additions & 3 deletions priv/templates/phx.gen.live/live_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ defmodule <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web

assert index_live
|> form("#<%= schema.singular %>-form", <%= schema.singular %>: @invalid_attrs)
|> render_change() =~ "can&apos;t be blank"
|> render_change() =~ "can&#39;t be blank"

{:ok, _, html} =
index_live
Expand All @@ -61,7 +61,7 @@ defmodule <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web

assert index_live
|> form("#<%= schema.singular %>-form", <%= schema.singular %>: @invalid_attrs)
|> render_change() =~ "can&apos;t be blank"
|> render_change() =~ "can&#39;t be blank"

{:ok, _, html} =
index_live
Expand Down Expand Up @@ -101,7 +101,7 @@ defmodule <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web

assert show_live
|> form("#<%= schema.singular %>-form", <%= schema.singular %>: @invalid_attrs)
|> render_change() =~ "can&apos;t be blank"
|> render_change() =~ "can&#39;t be blank"

{:ok, _, html} =
show_live
Expand Down

0 comments on commit 5c8fbd9

Please # to comment.