Commit 3e7ba35ecde4703f7cdc0dbc5c74aec955bc35f8
1 parent
ea43d47c
Exists in
master
and in
29 other branches
ActionItem117: renaming ...
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@914 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
8 additions
and
8 deletions
Show diff stats
test/functional/admin_controller_test.rb
1 | 1 | require File.dirname(__FILE__) + '/../test_helper' |
2 | -require 'environment_admin_controller' | |
2 | +require 'admin_controller' | |
3 | 3 | |
4 | 4 | # Re-raise errors caught by the controller. |
5 | -class EnvironmentAdminController; def rescue_action(e) raise e end; end | |
5 | +class AdminController; def rescue_action(e) raise e end; end | |
6 | 6 | |
7 | -class EnvironmentAdminControllerTest < Test::Unit::TestCase | |
7 | +class AdminControllerTest < Test::Unit::TestCase | |
8 | 8 | def setup |
9 | - @controller = EnvironmentAdminController.new | |
9 | + @controller = AdminController.new | |
10 | 10 | @request = ActionController::TestRequest.new |
11 | 11 | @response = ActionController::TestResponse.new |
12 | 12 | end | ... | ... |
test/functional/system_controller.rb
1 | 1 | require File.dirname(__FILE__) + '/../test_helper' |
2 | -require 'system_admin_controller' | |
2 | +require 'system_controller' | |
3 | 3 | |
4 | 4 | # Re-raise errors caught by the controller. |
5 | -class SystemAdminController; def rescue_action(e) raise e end; end | |
5 | +class SystemController; def rescue_action(e) raise e end; end | |
6 | 6 | |
7 | -class SystemAdminControllerTest < Test::Unit::TestCase | |
7 | +class SystemControllerTest < Test::Unit::TestCase | |
8 | 8 | def setup |
9 | - @controller = SystemAdminController.new | |
9 | + @controller = SystemController.new | |
10 | 10 | @request = ActionController::TestRequest.new |
11 | 11 | @response = ActionController::TestResponse.new |
12 | 12 | end | ... | ... |