malformed generated integration test
Reported by Xavier Noria | December 30th, 2007 @ 03:45 PM | in Next Printing
The example of a generated integration test on page 585 has an unpaired trailing "end".
The class definition would be dedented, and the final "end" deleted (as well as its preceding blank line).
Comments and changes to this ticket
-
Obie January 7th, 2008 @ 05:51 PM
- → Milestone changed from Second Edition to Next Printing
- → State changed from new to open
- → Assigned user changed from Obie to sandee.phillips (at pearson)
San Dee, please fix the second code snippet on page 585 to read as follows (indentation and getting rid of the extra 'end' statement):
require “#{File.dirname(__FILE__)}/../test_helper” class UserGroupsTest < ActionController::IntegrationTest # fixtures :your, :models # Replace this with your real tests. def test_truth assert true end end -

sandee.phillips (at pearson) January 8th, 2008 @ 08:47 AM
- → State changed from open to resolved
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
