-
Notifications
You must be signed in to change notification settings - Fork 116
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
Move sample forms out of test folder #1452
Conversation
🦋 Changeset detectedLatest commit: 991e0ca The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Hey @steves, thanks for taking this on. I don't remember if this is the case for all of them, but I know some of those forms are indeed used in tests. As long as tests are passing though we should be ok. |
550c552
to
dbf8208
Compare
dbf8208
to
8b4072b
Compare
* Move sample forms out of test folder * Add nodoc to form samples * Add missing tests for form previews * Create thirty-forks-hope.md Co-authored-by: Jon Rohan <[email protected]>
In #1404 preview files were moved out of
test
and into their own top level directory. We later discovered that form previews reference form classes that are defined intest/forms
. Because they're in thetest
folder they don't get included in the gem and the previews that use them don't work.Because these sample forms are only used in the previews, and not in any tests that I could find, I moved them into
app/forms
. This lets us autoload them in the local Lookbook as well as bundle them into the gem for use in ourgithub/github
Lookbook instance.