Displaying 4 results from an estimated 4 matches for "storage_controller".
2009 May 20
1
[PATCH server] don't add nil key to failures hash for PartialSuccessError handling.
...y: Scott Seago <sseago at redhat.com>
---
src/app/controllers/application.rb | 2 +-
src/app/controllers/network_controller.rb | 2 +-
src/app/controllers/permission_controller.rb | 6 ++----
src/app/controllers/resources_controller.rb | 5 ++---
src/app/controllers/storage_controller.rb | 6 +++---
src/app/controllers/vm_controller.rb | 5 ++---
6 files changed, 11 insertions(+), 15 deletions(-)
diff --git a/src/app/controllers/application.rb b/src/app/controllers/application.rb
index 040b8a3..e50f71e 100644
--- a/src/app/controllers/application.rb
+++ b/src/a...
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
...| 28 ----------
src/app/controllers/permission_controller.rb | 7 ---
src/app/controllers/pool_controller.rb | 7 ---
src/app/controllers/quota_controller.rb | 8 ---
src/app/controllers/smart_pools_controller.rb | 2 +-
src/app/controllers/storage_controller.rb | 8 ---
src/app/controllers/storage_volume_controller.rb | 8 ---
src/app/controllers/vm_controller.rb | 13 +----
src/app/services/hardware_pool_service.rb | 1 -
src/app/services/pool_service.rb | 1 -
src/app/services/smart_po...
2006 Jun 16
2
need help mocking out a method
I''m trying to test a controller method''s error handling. To do so I
need to mock out a method that normally returns a unique number so
that it returns a duplicate number several times in a row thereby
triggering the error handling. However, I can''t get the mock working.
Here''s the test code along with the error (all from test/functional/
2009 Jun 16
1
[PATCH server] Fix errors in controller tests.
...;jguiditt at redhat.com>
---
src/test/functional/host_controller_test.rb | 2 +-
src/test/functional/nic_controller_test.rb | 2 +-
src/test/functional/permission_controller_test.rb | 5 +++--
src/test/functional/quota_controller_test.rb | 2 +-
src/test/functional/storage_controller_test.rb | 2 +-
src/test/functional/task_controller_test.rb | 2 +-
src/test/functional/vm_controller_test.rb | 2 +-
7 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/test/functional/host_controller_test.rb b/src/test/functional/host_controller_test.rb
in...