Skip to content
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

Fixes #4573 -Better error message for unknown template kind #337

Merged
merged 1 commit into from
Oct 29, 2017

Conversation

rabajaj0509
Copy link
Member

No description provided.


describe 'create' do
before do
@cmd = %(template create)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rahulbajaj0509 your @cmd is string, which makes the tests fail on "no implicit conversion of Array into String (TypeError)".
It should have been @cmd = %w(template create)

@rabajaj0509 rabajaj0509 force-pushed the 4573-error-message branch 2 times, most recently from 6ebd962 to 94583d2 Compare October 27, 2017 09:45
@rabajaj0509
Copy link
Member Author

@tstrachota sorry for the delay. Fixed the tests, all green :)

@mbacovsky
Copy link
Member

👍 @rahulbajaj0509, thanks. Looks good now and fixes the issue.

@mbacovsky mbacovsky merged commit 5e5a08b into theforeman:master Oct 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants