Displaying 2 results from an estimated 2 matches for "storagecontrollertest".
Did you mean:
storage_controller_test
2009 Jun 16
1
[PATCH server] Fix errors in controller tests.
...0293..e10a662 100644
--- a/src/test/functional/storage_controller_test.rb
+++ b/src/test/functional/storage_controller_test.rb
@@ -23,7 +23,7 @@ require 'storage_controller'
# Re-raise errors caught by the controller.
class StorageController; def rescue_action(e) raise e end; end
-class StorageControllerTest < Test::Unit::TestCase
+class StorageControllerTest < ActionController::TestCase
fixtures :privileges, :roles, :permissions, :pools,
:storage_volumes, :storage_pools
diff --git a/src/test/functional/task_controller_test.rb b/src/test/functional/task_controller_test.rb
index 3...
2009 May 18
0
[PATCH server] fixed functional tests after recent controller refactoring and managed node controller fixes.
...'alert']
end
end
diff --git a/src/test/functional/storage_controller_test.rb b/src/test/functional/storage_controller_test.rb
index 66326d9..fcf0293 100644
--- a/src/test/functional/storage_controller_test.rb
+++ b/src/test/functional/storage_controller_test.rb
@@ -67,7 +67,7 @@ class StorageControllerTest < Test::Unit::TestCase
assert_response :success
assert_template 'new'
- assert_not_nil assigns(:storage_pools)
+ assert_not_nil assigns(:storage_types)
end
def test_create_storage_controller
@@ -107,7 +107,7 @@ class StorageControllerTest < Test::Unit::TestCa...