Commit 3ebe0593267898bf1448ce7e9a8604a98cdeed05
1 parent
fc05f367
Exists in
master
and in
29 other branches
Replaced 'Test::Unit' with 'ActiveSupport' in a few functional tests
Showing
5 changed files
with
5 additions
and
5 deletions
Show diff stats
test/functional/browse_controller_test.rb
@@ -7,7 +7,7 @@ class BrowseController; def rescue_action(e) raise e end; end | @@ -7,7 +7,7 @@ class BrowseController; def rescue_action(e) raise e end; end | ||
7 | class BrowseControllerTest < ActionController::TestCase | 7 | class BrowseControllerTest < ActionController::TestCase |
8 | 8 | ||
9 | def setup | 9 | def setup |
10 | - Test::Unit::TestCase::setup | 10 | + ActiveSupport::TestCase::setup |
11 | @controller = BrowseController.new | 11 | @controller = BrowseController.new |
12 | @request = ActionController::TestRequest.new | 12 | @request = ActionController::TestRequest.new |
13 | @response = ActionController::TestResponse.new | 13 | @response = ActionController::TestResponse.new |
test/functional/cms_controller_test.rb
@@ -9,7 +9,7 @@ class CmsControllerTest < ActionController::TestCase | @@ -9,7 +9,7 @@ class CmsControllerTest < ActionController::TestCase | ||
9 | fixtures :environments | 9 | fixtures :environments |
10 | 10 | ||
11 | def setup | 11 | def setup |
12 | - Test::Unit::TestCase::setup | 12 | + ActiveSupport::TestCase::setup |
13 | @controller = CmsController.new | 13 | @controller = CmsController.new |
14 | @request = ActionController::TestRequest.new | 14 | @request = ActionController::TestRequest.new |
15 | @response = ActionController::TestResponse.new | 15 | @response = ActionController::TestResponse.new |
test/functional/profile_members_controller_test.rb
@@ -6,7 +6,7 @@ class ProfileMembersController; def rescue_action(e) raise e end; end | @@ -6,7 +6,7 @@ class ProfileMembersController; def rescue_action(e) raise e end; end | ||
6 | 6 | ||
7 | class ProfileMembersControllerTest < ActionController::TestCase | 7 | class ProfileMembersControllerTest < ActionController::TestCase |
8 | def setup | 8 | def setup |
9 | - Test::Unit::TestCase::setup | 9 | + ActiveSupport::TestCase::setup |
10 | @controller = ProfileMembersController.new | 10 | @controller = ProfileMembersController.new |
11 | @request = ActionController::TestRequest.new | 11 | @request = ActionController::TestRequest.new |
12 | @response = ActionController::TestResponse.new | 12 | @response = ActionController::TestResponse.new |
test/functional/profile_search_controller_test.rb
@@ -6,7 +6,7 @@ class ProfileSearchController; def rescue_action(e) raise e end; end | @@ -6,7 +6,7 @@ class ProfileSearchController; def rescue_action(e) raise e end; end | ||
6 | 6 | ||
7 | class ProfileSearchControllerTest < ActionController::TestCase | 7 | class ProfileSearchControllerTest < ActionController::TestCase |
8 | def setup | 8 | def setup |
9 | - Test::Unit::TestCase::setup | 9 | + ActiveSupport::TestCase::setup |
10 | @controller = ProfileSearchController.new | 10 | @controller = ProfileSearchController.new |
11 | @request = ActionController::TestRequest.new | 11 | @request = ActionController::TestRequest.new |
12 | @response = ActionController::TestResponse.new | 12 | @response = ActionController::TestResponse.new |
test/functional/search_controller_test.rb
@@ -6,7 +6,7 @@ class SearchController; def rescue_action(e) raise e end; end | @@ -6,7 +6,7 @@ class SearchController; def rescue_action(e) raise e end; end | ||
6 | 6 | ||
7 | class SearchControllerTest < ActionController::TestCase | 7 | class SearchControllerTest < ActionController::TestCase |
8 | def setup | 8 | def setup |
9 | - Test::Unit::TestCase::setup | 9 | + ActiveSupport::TestCase::setup |
10 | @controller = SearchController.new | 10 | @controller = SearchController.new |
11 | @request = ActionController::TestRequest.new | 11 | @request = ActionController::TestRequest.new |
12 | @response = ActionController::TestResponse.new | 12 | @response = ActionController::TestResponse.new |