Displaying 2 results from an estimated 2 matches for "niccontrollertest".
Did you mean:
nic_controller_test
2009 Jun 16
1
[PATCH server] Fix errors in controller tests.
...est.rb
index 59183ba..60b5670 100644
--- a/src/test/functional/nic_controller_test.rb
+++ b/src/test/functional/nic_controller_test.rb
@@ -23,7 +23,7 @@ require 'nic_controller'
# Re-raise errors caught by the controller.
class NicController; def rescue_action(e) raise e end; end
-class NicControllerTest < Test::Unit::TestCase
+class NicControllerTest < ActionController::TestCase
fixtures :privileges, :roles, :permissions, :pools, :nics
def setup
diff --git a/src/test/functional/permission_controller_test.rb b/src/test/functional/permission_controller_test.rb
index 0885890..49bf1ef 10...
2009 May 18
0
[PATCH server] fixed functional tests after recent controller refactoring and managed node controller fixes.
...ng.interface_name}|SLAVE=yes|ONBOOT=yes
HERE
diff --git a/src/test/functional/nic_controller_test.rb b/src/test/functional/nic_controller_test.rb
index 68ea3f9..59183ba 100644
--- a/src/test/functional/nic_controller_test.rb
+++ b/src/test/functional/nic_controller_test.rb
@@ -43,12 +43,4 @@ class NicControllerTest < Test::Unit::TestCase
assert_not_nil assigns(:nic)
assert assigns(:nic).valid?
end
-
- def test_new
- get :new, :host_id => pools(:default).id
-
- assert_response :redirect
- assert_redirected_to :controller => 'host', :action => 'show', :id =>...