Add functional tests for user blocks
authorTom Hughes <tom@compton.nu>
Mon, 19 Mar 2012 11:26:02 +0000 (11:26 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 19 Mar 2012 11:26:02 +0000 (11:26 +0000)
commite1d873cde99eaa6eafaca6659c221ec2b98de36e
treeef4ca142ef3d6d56fedc5b00d4ec37f54452a2b6
parent359371b31c33d062ca31c4cc48876c81e4e6ef26
Add functional tests for user blocks

Also fixes various issues in the code discovered while writing
the tests, and adds some named routes for user blocks.
app/controllers/application_controller.rb
app/controllers/user_blocks_controller.rb
config/routes.rb
test/fixtures/user_blocks.yml
test/fixtures/user_roles.yml
test/fixtures/users.yml
test/functional/user_blocks_controller_test.rb
test/unit/user_test.rb