mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-09-20 18:15:56 +08:00
Fix Fly Hub suite
This commit is contained in:
parent
c0fa5c9807
commit
b6e28c5b43
|
@ -26,8 +26,8 @@ defmodule LivebookWeb.Hub.EditLiveTest do
|
|||
|
||||
{:ok, view, html} = live(conn, Routes.hub_path(conn, :edit, hub.id))
|
||||
|
||||
assert html =~ "See app on Fly"
|
||||
assert html =~ "https://#{hub.application_id}.fly.dev"
|
||||
assert html =~ "Manage app on Fly"
|
||||
assert html =~ "https://fly.io/apps/#{hub.application_id}"
|
||||
|
||||
assert html =~ "Environment Variables"
|
||||
refute html =~ "FOO_ENV_VAR"
|
||||
|
@ -79,8 +79,8 @@ defmodule LivebookWeb.Hub.EditLiveTest do
|
|||
|
||||
{:ok, view, html} = live(conn, Routes.hub_path(conn, :edit, hub.id))
|
||||
|
||||
assert html =~ "See app on Fly"
|
||||
assert html =~ "https://#{hub.application_id}.fly.dev"
|
||||
assert html =~ "Manage app on Fly"
|
||||
assert html =~ "https://fly.io/apps/#{hub.application_id}"
|
||||
|
||||
assert html =~ "Environment Variables"
|
||||
refute html =~ "FOO_ENV_VAR"
|
||||
|
@ -129,8 +129,8 @@ defmodule LivebookWeb.Hub.EditLiveTest do
|
|||
|
||||
{:ok, view, html} = live(conn, Routes.hub_path(conn, :edit, hub.id))
|
||||
|
||||
assert html =~ "See app on Fly"
|
||||
assert html =~ "https://#{hub.application_id}.fly.dev"
|
||||
assert html =~ "Manage app on Fly"
|
||||
assert html =~ "https://fly.io/apps/#{hub.application_id}"
|
||||
|
||||
assert html =~ "Environment Variables"
|
||||
assert html =~ "FOO_ENV_VAR"
|
||||
|
@ -177,8 +177,8 @@ defmodule LivebookWeb.Hub.EditLiveTest do
|
|||
|
||||
{:ok, view, html} = live(conn, Routes.hub_path(conn, :edit, hub.id))
|
||||
|
||||
assert html =~ "See app on Fly"
|
||||
assert html =~ "https://#{hub.application_id}.fly.dev"
|
||||
assert html =~ "Manage app on Fly"
|
||||
assert html =~ "https://fly.io/apps/#{hub.application_id}"
|
||||
|
||||
assert html =~ "Environment Variables"
|
||||
assert html =~ "FOO_ENV_VAR"
|
||||
|
|
Loading…
Reference in a new issue