Rails: A Rails scaffold generator that generates DRYer, cleaner, and more useful code. IMPORTANT: Not maintained anymore.
124
stars
14
forks
source link
Shoulda: The redirection assertions are not working the newest versions of shoulda because the API changed #15
Open
albertoperdomo opened 14 years ago
The old syntax: should_redirect_to 'book_path(@book)' The new syntax: should_redirect_to("the book's show page") { book_path(@book) }
See http://dev.thoughtbot.com/shoulda/classes/Shoulda/ActionController/Macros.html#M000015