grimen / dry_scaffold

Rails: A Rails scaffold generator that generates DRYer, cleaner, and more useful code. IMPORTANT: Not maintained anymore.
MIT License
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

albertoperdomo commented 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

albertoperdomo commented 14 years ago

Closed in http://github.com/grimen/dry_scaffold/commit/89aabbc4a5ce40bce2435595fb885a74729c8276