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

Allow Authors as a multi-valued field breaks tests (specs) #61

Open
baxter-brad opened this issue Dec 28, 2014 · 0 comments
Open

Allow Authors as a multi-valued field breaks tests (specs) #61

baxter-brad opened this issue Dec 28, 2014 · 0 comments

Comments

@baxter-brad
Copy link

Hi,

Thanks for the great tutorials for getting started with hydra!

This is just a comment regarding this lesson: https://github.com/projecthydra/hydra/wiki/Lesson%3A-Generate-Rails-Scaffolding-for-Creating-and-Editing-Books

And this step: Step 5: Allow Create and Update views to display Authors as a multi-valued field

I thought it might be worth mentioning in the lesson that making these changes will (at least in my experience) break some tests, namely:

Failed examples:

rspec ./spec/views/books/edit.html.erb_spec.rb:11 # books/edit renders the edit book form
rspec ./spec/views/books/new.html.erb_spec.rb:11 # books/new renders new book form
rspec ./spec/views/books/show.html.erb_spec.rb:11 # books/show renders attributes in

Regards,

Brad

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

No branches or pull requests

1 participant