Displaying 2 results from an estimated 2 matches for "permissioncontrollertest".
Did you mean:
permission_controller_test
2009 Jun 16
1
[PATCH server] Fix errors in controller tests.
...software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -23,7 +24,7 @@ require 'permission_controller'
# Re-raise errors caught by the controller.
class PermissionController; def rescue_action(e) raise e end; end
-class PermissionControllerTest < Test::Unit::TestCase
+class PermissionControllerTest < ActionController::TestCase
fixtures :privileges, :roles, :permissions, :pools
def setup
diff --git a/src/test/functional/quota_controller_test.rb b/src/test/functional/quota_controller_test.rb
index 1496652..35f23c0 100644
--- a...
2009 May 18
0
[PATCH server] fixed functional tests after recent controller refactoring and managed node controller fixes.
...id
-
- end
end
diff --git a/src/test/functional/permission_controller_test.rb b/src/test/functional/permission_controller_test.rb
index f5aa4a9..0885890 100644
--- a/src/test/functional/permission_controller_test.rb
+++ b/src/test/functional/permission_controller_test.rb
@@ -64,16 +64,17 @@ class PermissionControllerTest < Test::Unit::TestCase
def test_destroy
post :destroy, :id => @permission_id
- assert_response :redirect
- assert_redirected_to :controller => 'hardware', :action => 'show', :id => pools(:default).id
- assert_equal "<strong>ovirtadmin<...