Displaying 2 results from an estimated 2 matches for "quotacontrollertest".
Did you mean:
quota_controller_test
2009 Jun 16
1
[PATCH server] Fix errors in controller tests.
...ndex 1496652..35f23c0 100644
--- a/src/test/functional/quota_controller_test.rb
+++ b/src/test/functional/quota_controller_test.rb
@@ -23,7 +23,7 @@ require 'quota_controller'
# Re-raise errors caught by the controller.
class QuotaController; def rescue_action(e) raise e end; end
-class QuotaControllerTest < Test::Unit::TestCase
+class QuotaControllerTest < ActionController::TestCase
fixtures :quotas, :pools
def setup
diff --git a/src/test/functional/storage_controller_test.rb b/src/test/functional/storage_controller_test.rb
index fcf0293..e10a662 100644
--- a/src/test/functional/storag...
2009 May 18
0
[PATCH server] fixed functional tests after recent controller refactoring and managed node controller fixes.
...ite the code to make this a real test!
diff --git a/src/test/functional/quota_controller_test.rb b/src/test/functional/quota_controller_test.rb
index b8f78e6..1496652 100644
--- a/src/test/functional/quota_controller_test.rb
+++ b/src/test/functional/quota_controller_test.rb
@@ -93,7 +93,7 @@ class QuotaControllerTest < Test::Unit::TestCase
post :destroy, :id => quotas(:corp_com_dev_quota).id, :format => "json"
assert_response :success
json = ActiveSupport::JSON.decode(@response.body)
- assert_equal 'You do not have permission to create or modify this item ', json[...