Refactored user_role and controller. Now much more DRY.
[rails.git] / test / integration / user_blocks_test.rb
index 822c923cc1fe977f5fde8adb57971d32f74ee4b0..f0b9070d6d2a0d3c50eb09dd2283cfc7cc7733ff 100644 (file)
@@ -1,7 +1,7 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
 class UserBlocksTest < ActionController::IntegrationTest
-  fixtures :users, :user_blocks
+  fixtures :users, :user_blocks, :user_roles
 
   def auth_header(user, pass)
     {"HTTP_AUTHORIZATION" => "Basic %s" % Base64.encode64("#{user}:#{pass}")}