validates_email_format_of gem was giving out-of-date errors fixed in the github source
Update shoulda gem to most recent possible for Ruby 1.8.7
Move code from an overridden #validate method (now a deprecated technique) to a consolidated model method called by Base.validate.
In this case it was validation where certain attributes may or may not be required depending on whether the applicant is a US citizen.
Change deprecated code for equivalents. Now we always use "validates :method_name", and referencing an ID attribute via [:id] does not set off the mistaken deprecation warning against called Object#id
Remove redundant routes and put the "root" route at the top.
The PGP field seems to have changed to be numeric-only since this factory sequence was written, so removing the alpha prefix.
Fixtures not being used and anyway only causing problems since their sample data are mostly hopelessly out of date. Deactivating fixtures.
Calling save(false) in now deprecated in favour of save(:validate => false)
Perhaps all modules in /lib are meant to be loaded automatically, but until that time explicit includes seem to be necessary at least for test cases.
Here including authenticated_test_helper.rb to gain access to test methods for logging in and out.
More deprecation updates: now TestCase is part of ActiveSupport, not Test::Unit. And now model errors are accessed via errors[] rather than errors.on().
Needed to include the login "macro" to get these tests to run.
Switched to using ActionController::TestCase, which is now the correct controller test class from which to inherit.
Also note that #setup sets up @controller, @request, and @response by default, so I've removed these.