samvera-deprecated / hydra

Project Hydra Stack Dependencies
Other
83 stars 30 forks source link

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

Open baxter-brad opened 9 years ago

baxter-brad commented 9 years ago

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