Skip to content

Add controller generator and test #4

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

Closed
wants to merge 5 commits into from
Closed

Add controller generator and test #4

wants to merge 5 commits into from

Conversation

scott-knight
Copy link
Contributor

When using rails g controller a user will experience an error generating the view:

Screen Shot 2021-09-30 at 9 40 12 AM

This PR adds the controller generator and view template which will all a user to use rails g controller:

Screen Shot 2021-09-30 at 9 43 38 AM

I also ran into an issue run the test suite. Therefore, I updated each test file to point to the required test_helper file.

Additionally, I updated the version (which is arbitrary), but did so to differentiate this from the original source.

@dixpac
Copy link
Member

dixpac commented Sep 30, 2021

Thank you @scott-knight . Pushed pretty much the same thing, went on your issue to comment and saw you've already created PR (ahhh Github notifications).

After seeing that I've edited my commit and added you as a co-author (2161fd2).
Sorry my bad didn't see that you've already created a PR

Feel free to expand on this with a new PR, since you had more test coverage ❤️

@dixpac dixpac closed this Sep 30, 2021
@scott-knight
Copy link
Contributor Author

scott-knight commented Oct 1, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants