Skip to content

fix: change console help text #319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 14, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/cli/create/create_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,14 @@ def test_403_create_project_with_no_name(self):
"""Create project without name should show friendly error message"""
result = Tns.create(app_name="", template=Template.HELLO_WORLD_JS.local_package, force_clean=False,
verify=False, update=False)
assert "You must specify <App name> when creating a new project" in result.output
assert "# tns create" in result.output
assert "Run 'tns create --help' for more information." in result.output
assert "You must specify <App name> when creating a new project." in result.output

def test_405_create_app_with_space_without_quotes(self):
"""Create project with space without quotes."""
result = Tns.exec_command("create fake fake", log_trace=False)
assert "The parameter fake is not valid for this command" in result.output
assert "# tns create" in result.output
assert "Run 'tns create --help' for more information." in result.output
assert "The parameter fake is not valid for this command." in result.output

@staticmethod
def __clean_folders():
Expand Down