Skip to content

Commit 8dd0318

Browse files
committed
integration test
1 parent 7dc88fd commit 8dd0318

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

installer/test/core_new_test.exs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ defmodule Mix.Tasks.Corex.NewTest do
838838
test "new without args" do
839839
in_tmp("new without args", fn ->
840840
assert capture_io(fn -> Mix.Tasks.Corex.New.run([]) end) =~
841-
"Creates a new Corex project."
841+
"Creates a new Phoenix application with Corex preconfigured"
842842
end)
843843
end
844844

@@ -918,11 +918,11 @@ defmodule Mix.Tasks.Corex.NewTest do
918918
test "run/3 with empty argv shows help" do
919919
assert capture_io(fn ->
920920
Mix.Tasks.Corex.New.run([], Corex.New.Single, :base_path)
921-
end) =~ "Creates a new Corex project"
921+
end) =~ "Creates a new Phoenix application with Corex preconfigured"
922922

923923
assert capture_io(fn ->
924924
Mix.Tasks.Corex.New.run([], Corex.New.Umbrella, :project_path)
925-
end) =~ "Creates a new Corex project"
925+
end) =~ "Creates a new Phoenix application with Corex preconfigured"
926926
end
927927

928928
test "check_directory_existence aborts when user says no" do

installer/test/corex_new_web_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ defmodule Mix.Tasks.Corex.New.WebTest do
1616

1717
test "new without args" do
1818
assert capture_io(fn -> Mix.Tasks.Corex.New.Web.run([]) end) =~
19-
"Creates a new Phoenix web project within an umbrella project."
19+
"Creates a new Phoenix web application inside an existing umbrella project"
2020
end
2121

2222
test "new with barebones umbrella" do

0 commit comments

Comments
 (0)