Commit 144eab47a95697703debc02243e5f2a68776a169

Authored by Antonio Terceiro
1 parent 89c4127a

test/*: use require_relative for test_helper

This needs to be done for all plugins as well, but it's more complicated
there because several plugins have their own test_helper (which will
also load the core test_helper).
Showing 255 changed files with 255 additions and 255 deletions   Show diff stats
test/functional/account_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'account_controller' 2 require 'account_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/admin_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'admin_controller' 2 require 'admin_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/admin_panel_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'admin_panel_controller' 2 require 'admin_panel_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/application_controller_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 require 'test_controller' 3 require 'test_controller'
4 4
5 # Re-raise errors caught by the controller. 5 # Re-raise errors caught by the controller.
test/functional/catalog_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'catalog_controller' 2 require 'catalog_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/categories_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'categories_controller' 2 require 'categories_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/chat_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ChatControllerTest < ActionController::TestCase 3 class ChatControllerTest < ActionController::TestCase
4 4
test/functional/cms_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'cms_controller' 2 require 'cms_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/comment_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'comment_controller' 2 require 'comment_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/contact_controller_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 require 'contact_controller' 3 require 'contact_controller'
4 4
5 # Re-raise errors caught by the controller. 5 # Re-raise errors caught by the controller.
test/functional/content_viewer_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'content_viewer_controller' 2 require 'content_viewer_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/doc_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class DocControllerTest < ActionController::TestCase 3 class DocControllerTest < ActionController::TestCase
4 4
test/functional/edit_template_controller_test.rb
1 # FIXME: this tests must me moved into design plugin 1 # FIXME: this tests must me moved into design plugin
2 2
3 -require File.dirname(__FILE__) + '/../test_helper' 3 +require_relative "../test_helper"
4 require 'edit_template_controller' 4 require 'edit_template_controller'
5 5
6 # Re-raise errors caught by the controller. 6 # Re-raise errors caught by the controller.
test/functional/embed_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class EmbedControllerTest < ActionController::TestCase 3 class EmbedControllerTest < ActionController::TestCase
4 4
test/functional/enterprise_registration_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'enterprise_registration_controller' 2 require 'enterprise_registration_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/enterprise_validation_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'enterprise_validation_controller' 2 require 'enterprise_validation_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/environment_design_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'environment_design_controller' 2 require 'environment_design_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/environment_role_manager_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'environment_role_manager_controller' 2 require 'environment_role_manager_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/environment_themes_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class EnvironmentThemesController; def rescue_action(e) raise e end; end 3 class EnvironmentThemesController; def rescue_action(e) raise e end; end
4 4
test/functional/events_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class EventsControllerTest < ActionController::TestCase 3 class EventsControllerTest < ActionController::TestCase
4 4
test/functional/favorite_enterprises_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'favorite_enterprises_controller' 2 require 'favorite_enterprises_controller'
3 3
4 class FavoriteEnterprisesController; def rescue_action(e) raise e end; end 4 class FavoriteEnterprisesController; def rescue_action(e) raise e end; end
test/functional/features_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'features_controller' 2 require 'features_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/friends_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'friends_controller' 2 require 'friends_controller'
3 3
4 class FriendsController; def rescue_action(e) raise e end; end 4 class FriendsController; def rescue_action(e) raise e end; end
test/functional/home_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'home_controller' 2 require 'home_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/invite_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class InviteControllerTest < ActionController::TestCase 3 class InviteControllerTest < ActionController::TestCase
4 4
test/functional/licenses_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'licenses_controller' 2 require 'licenses_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/mailconf_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class MailconfControllerTest < ActionController::TestCase 3 class MailconfControllerTest < ActionController::TestCase
4 4
test/functional/manage_products_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'manage_products_controller' 2 require 'manage_products_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/map_balloon_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'map_balloon_controller' 2 require 'map_balloon_controller'
3 3
4 4
test/functional/maps_controller_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 require 'maps_controller' 3 require 'maps_controller'
4 4
5 # Re-raise errors caught by the controller. 5 # Re-raise errors caught by the controller.
test/functional/memberships_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'memberships_controller' 2 require 'memberships_controller'
3 3
4 4
test/functional/my_profile_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'my_profile_controller' 2 require 'my_profile_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/plugin_admin_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class PluginAdminController 3 class PluginAdminController
4 def index 4 def index
test/functional/plugins_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'plugins_controller' 2 require 'plugins_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/profile_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'profile_controller' 2 require 'profile_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/profile_design_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'profile_design_controller' 2 require 'profile_design_controller'
3 3
4 class ProfileDesignController; def rescue_action(e) raise e end; end 4 class ProfileDesignController; def rescue_action(e) raise e end; end
test/functional/profile_editor_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'profile_editor_controller' 2 require 'profile_editor_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/profile_members_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'profile_members_controller' 2 require 'profile_members_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/profile_search_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'profile_search_controller' 2 require 'profile_search_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/profile_themes_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 # require 'profile_themes_controller' 2 # require 'profile_themes_controller'
3 3
4 class ProfileThemesController; def rescue_action(e) raise e end; end 4 class ProfileThemesController; def rescue_action(e) raise e end; end
test/functional/public_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'public_controller' 2 require 'public_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/region_validators_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'region_validators_controller' 2 require 'region_validators_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/role_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'role_controller' 2 require 'role_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/search_controller_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 require 'search_controller' 3 require 'search_controller'
4 4
5 # Re-raise errors caught by the controller. 5 # Re-raise errors caught by the controller.
test/functional/spam_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class SpamControllerTest < ActionController::TestCase 3 class SpamControllerTest < ActionController::TestCase
4 4
test/functional/system_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'system_controller' 2 require 'system_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/tasks_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'tasks_controller' 2 require 'tasks_controller'
3 3
4 class TasksController; def rescue_action(e) raise e end; end 4 class TasksController; def rescue_action(e) raise e end; end
test/functional/templates_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'templates_controller' 2 require 'templates_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/trusted_sites_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'trusted_sites_controller' 2 require 'trusted_sites_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/functional/users_controller_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'users_controller' 2 require 'users_controller'
3 3
4 # Re-raise errors caught by the controller. 4 # Re-raise errors caught by the controller.
test/integration/approve_reject_enterprise_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class ApproveRejectEnterpriseTest < ActionController::IntegrationTest 3 class ApproveRejectEnterpriseTest < ActionController::IntegrationTest
4 all_fixtures 4 all_fixtures
test/integration/assets_menu_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class AssetsMenuTest < ActionController::IntegrationTest 3 class AssetsMenuTest < ActionController::IntegrationTest
4 4
test/integration/assigning_validator_organizations_to_regions_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class AssigningValidatorOrganizationsToRegionsTest < ActionController::IntegrationTest 3 class AssigningValidatorOrganizationsToRegionsTest < ActionController::IntegrationTest
4 4
test/integration/blocks_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class BlocksTest < ActionController::IntegrationTest 3 class BlocksTest < ActionController::IntegrationTest
4 def blog_on_article_block_bootstrap 4 def blog_on_article_block_bootstrap
test/integration/categories_menu_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class CategoriesMenuTest < ActionController::IntegrationTest 3 class CategoriesMenuTest < ActionController::IntegrationTest
4 4
test/integration/controller_naming_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class ControllerNamingTest < ActionController::IntegrationTest 3 class ControllerNamingTest < ActionController::IntegrationTest
4 4
test/integration/editing_person_info_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class EditingPersonInfoTest < ActionController::IntegrationTest 3 class EditingPersonInfoTest < ActionController::IntegrationTest
4 4
test/integration/enable_disable_features_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class EnableDisableFeaturesTest < ActionController::IntegrationTest 3 class EnableDisableFeaturesTest < ActionController::IntegrationTest
4 all_fixtures 4 all_fixtures
test/integration/enterprise_registration_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class EnterpriseRegistrationTest < ActionController::IntegrationTest 3 class EnterpriseRegistrationTest < ActionController::IntegrationTest
4 4
test/integration/forgot_password_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class ForgotPasswordTest < ActionController::IntegrationTest 3 class ForgotPasswordTest < ActionController::IntegrationTest
4 4
test/integration/http_caching_test.rb
1 -require 'test_helper' 1 +require_relative "../test_helper"
2 2
3 class HttpCachingTest < ActionController::IntegrationTest 3 class HttpCachingTest < ActionController::IntegrationTest
4 4
test/integration/login_to_the_application_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class LoginToTheApplicationTest < ActionController::IntegrationTest 3 class LoginToTheApplicationTest < ActionController::IntegrationTest
4 fixtures :users, :environments, :profiles 4 fixtures :users, :environments, :profiles
test/integration/manage_documents_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class ManageDocumentsTest < ActionController::IntegrationTest 3 class ManageDocumentsTest < ActionController::IntegrationTest
4 4
test/integration/manage_friendships_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class ManageFriendshipsTest < ActionController::IntegrationTest 3 class ManageFriendshipsTest < ActionController::IntegrationTest
4 4
test/integration/online_doc_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class OnlineDocTest < ActionController::IntegrationTest 3 class OnlineDocTest < ActionController::IntegrationTest
4 4
test/integration/performance_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 require 'benchmark' 2 require 'benchmark'
3 3
4 class PerformanceTest < ActionController::IntegrationTest 4 class PerformanceTest < ActionController::IntegrationTest
test/integration/routing_test.rb
1 -require File.expand_path('../../test_helper', __FILE__) 1 +require_relative "../test_helper"
2 2
3 class RoutingTest < ActionController::IntegrationTest 3 class RoutingTest < ActionController::IntegrationTest
4 4
test/integration/search_popup_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class SearchPopupTest < ActionController::IntegrationTest 3 class SearchPopupTest < ActionController::IntegrationTest
4 4
test/integration/signup_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class SignupTest < ActionController::IntegrationTest 3 class SignupTest < ActionController::IntegrationTest
4 all_fixtures 4 all_fixtures
test/integration/user_registers_at_the_application_test.rb
1 -require "#{File.dirname(__FILE__)}/../test_helper" 1 +require_relative "../test_helper"
2 2
3 class UserRegistersAtTheApplicationTest < ActionController::IntegrationTest 3 class UserRegistersAtTheApplicationTest < ActionController::IntegrationTest
4 fixtures :users, :environments, :profiles 4 fixtures :users, :environments, :profiles
test/unit/abuse_complaint_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class AbuseComplaintTest < ActiveSupport::TestCase 3 class AbuseComplaintTest < ActiveSupport::TestCase
4 4
test/unit/abuse_report_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class AbuseReportTest < ActiveSupport::TestCase 3 class AbuseReportTest < ActiveSupport::TestCase
4 4
test/unit/account_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class AccountHelperTest < ActiveSupport::TestCase 3 class AccountHelperTest < ActiveSupport::TestCase
4 4
test/unit/action_tracker_ext_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ActionTrackerExtTest < ActiveSupport::TestCase 3 class ActionTrackerExtTest < ActiveSupport::TestCase
4 should 'increase person activities_count on new activity' do 4 should 'increase person activities_count on new activity' do
test/unit/action_tracker_notification_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ActionTrackerNotificationTest < ActiveSupport::TestCase 3 class ActionTrackerNotificationTest < ActiveSupport::TestCase
4 4
test/unit/activities_counter_cache_job_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ActivitiesCounterCacheJobTest < ActiveSupport::TestCase 3 class ActivitiesCounterCacheJobTest < ActiveSupport::TestCase
4 4
test/unit/acts_as_filesystem_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ActsAsFilesystemTest < ActiveSupport::TestCase 3 class ActsAsFilesystemTest < ActiveSupport::TestCase
4 4
test/unit/acts_as_having_boxes_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ActsAsHavingBoxesTest < ActiveSupport::TestCase 3 class ActsAsHavingBoxesTest < ActiveSupport::TestCase
4 4
test/unit/acts_as_having_settings_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ActsAsHavingSettingsTest < ActiveSupport::TestCase 3 class ActsAsHavingSettingsTest < ActiveSupport::TestCase
4 4
test/unit/add_friend_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class AddFriendTest < ActiveSupport::TestCase 3 class AddFriendTest < ActiveSupport::TestCase
4 4
test/unit/add_member_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class AddMemberTest < ActiveSupport::TestCase 3 class AddMemberTest < ActiveSupport::TestCase
4 4
test/unit/application_helper_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 3
4 class ApplicationHelperTest < ActionView::TestCase 4 class ApplicationHelperTest < ActionView::TestCase
5 5
test/unit/approve_article_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ApproveArticleTest < ActiveSupport::TestCase 3 class ApproveArticleTest < ActiveSupport::TestCase
4 4
test/unit/approve_comment_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ApproveCommentTest < ActiveSupport::TestCase 3 class ApproveCommentTest < ActiveSupport::TestCase
4 4
test/unit/array_core_ext_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 # tests for Array core extension. See lib/noosfero/core_ext/array.rb 3 # tests for Array core extension. See lib/noosfero/core_ext/array.rb
4 class StringCoreExtTest < ActiveSupport::TestCase 4 class StringCoreExtTest < ActiveSupport::TestCase
test/unit/article_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ArticleBlockTest < ActiveSupport::TestCase 3 class ArticleBlockTest < ActiveSupport::TestCase
4 4
test/unit/article_categorization_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ArticleCategorizationTest < ActiveSupport::TestCase 3 class ArticleCategorizationTest < ActiveSupport::TestCase
4 4
test/unit/article_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ArticleTest < ActiveSupport::TestCase 3 class ArticleTest < ActiveSupport::TestCase
4 4
test/unit/assets_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class AssetsHelperTest < ActiveSupport::TestCase 3 class AssetsHelperTest < ActiveSupport::TestCase
4 4
test/unit/block_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class BlockHelperTest < ActiveSupport::TestCase 3 class BlockHelperTest < ActiveSupport::TestCase
4 4
test/unit/block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class BlockTest < ActiveSupport::TestCase 3 class BlockTest < ActiveSupport::TestCase
4 4
test/unit/blog_archives_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class BlogArchivesBlockTest < ActiveSupport::TestCase 3 class BlogArchivesBlockTest < ActiveSupport::TestCase
4 4
test/unit/blog_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class BlogHelperTest < ActionView::TestCase 3 class BlogHelperTest < ActionView::TestCase
4 4
test/unit/blog_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class BlogTest < ActiveSupport::TestCase 3 class BlogTest < ActiveSupport::TestCase
4 4
test/unit/box_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class BoxTest < ActiveSupport::TestCase 3 class BoxTest < ActiveSupport::TestCase
4 4
test/unit/boxes_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require File.dirname(__FILE__) + '/../../app/helpers/boxes_helper' 2 require File.dirname(__FILE__) + '/../../app/helpers/boxes_helper'
3 3
4 class BoxesHelperTest < ActionView::TestCase 4 class BoxesHelperTest < ActionView::TestCase
test/unit/catalog_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class CatalogHelperTest < ActiveSupport::TestCase 3 class CatalogHelperTest < ActiveSupport::TestCase
4 4
test/unit/categories_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class CategoriesBlockTest < ActiveSupport::TestCase 3 class CategoriesBlockTest < ActiveSupport::TestCase
4 4
test/unit/categories_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class CategoriesHelperTest < ActiveSupport::TestCase 3 class CategoriesHelperTest < ActiveSupport::TestCase
4 4
test/unit/category_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 # FIXME move the filesystem-related tests out here 3 # FIXME move the filesystem-related tests out here
4 class CategoryTest < ActiveSupport::TestCase 4 class CategoryTest < ActiveSupport::TestCase
test/unit/certifier_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 3
4 class CertifierTest < ActiveSupport::TestCase 4 class CertifierTest < ActiveSupport::TestCase
5 5
test/unit/change_password_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ChangePasswordTest < ActiveSupport::TestCase 3 class ChangePasswordTest < ActiveSupport::TestCase
4 4
test/unit/chat_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ChatHelperTest < ActiveSupport::TestCase 3 class ChatHelperTest < ActiveSupport::TestCase
4 4
test/unit/city_test.rb
1 -require 'test_helper.rb' 1 +require_relative "../test_helper"
2 2
3 class CityTest < ActiveSupport::TestCase 3 class CityTest < ActiveSupport::TestCase
4 # Replace this with your real tests. 4 # Replace this with your real tests.
test/unit/cms_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class CmsHelperTest < ActionView::TestCase 3 class CmsHelperTest < ActionView::TestCase
4 4
test/unit/colorbox_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ColorboxHelperTest < ActiveSupport::TestCase 3 class ColorboxHelperTest < ActiveSupport::TestCase
4 4
test/unit/comment_handler_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class CommentHandlerTest < ActiveSupport::TestCase 3 class CommentHandlerTest < ActiveSupport::TestCase
4 4
test/unit/comment_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class CommentHelperTest < ActiveSupport::TestCase 3 class CommentHelperTest < ActiveSupport::TestCase
4 4
test/unit/comment_notifier_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class CommentNotifierTest < ActiveSupport::TestCase 3 class CommentNotifierTest < ActiveSupport::TestCase
4 FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures' 4 FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures'
test/unit/comment_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class CommentTest < ActiveSupport::TestCase 3 class CommentTest < ActiveSupport::TestCase
4 4
test/unit/communities_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class CommunitiesBlockTest < ActiveSupport::TestCase 3 class CommunitiesBlockTest < ActiveSupport::TestCase
4 4
test/unit/community_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class CommunityTest < ActiveSupport::TestCase 3 class CommunityTest < ActiveSupport::TestCase
4 4
test/unit/contact_list_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ContactListTest < ActiveSupport::TestCase 3 class ContactListTest < ActiveSupport::TestCase
4 4
test/unit/contact_sender_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ContactSenderTest < ActiveSupport::TestCase 3 class ContactSenderTest < ActiveSupport::TestCase
4 FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures' 4 FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures'
test/unit/contact_test.rb
1 -require 'test_helper' 1 +require_relative "../test_helper"
2 2
3 class ContactTest < ActiveSupport::TestCase 3 class ContactTest < ActiveSupport::TestCase
4 4
test/unit/content_viewer_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ContentViewerHelperTest < ActionView::TestCase 3 class ContentViewerHelperTest < ActionView::TestCase
4 4
test/unit/countries_helper_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 3
4 class CountriesHelperTest < ActiveSupport::TestCase 4 class CountriesHelperTest < ActiveSupport::TestCase
5 5
test/unit/create_community_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class CreateCommunityTest < ActiveSupport::TestCase 3 class CreateCommunityTest < ActiveSupport::TestCase
4 4
test/unit/create_enterprise_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class CreateEnterpriseTest < ActiveSupport::TestCase 3 class CreateEnterpriseTest < ActiveSupport::TestCase
4 4
test/unit/create_thumbnails_job_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class CreateThumbnailsJobTest < ActiveSupport::TestCase 3 class CreateThumbnailsJobTest < ActiveSupport::TestCase
4 4
test/unit/dates_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class DatesHelperTest < ActiveSupport::TestCase 3 class DatesHelperTest < ActiveSupport::TestCase
4 4
test/unit/disabled_enterprise_message_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class DisabledEnterpriseMessageBlockTest < ActiveSupport::TestCase 3 class DisabledEnterpriseMessageBlockTest < ActiveSupport::TestCase
4 4
test/unit/display_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class DisplayHelperTest < ActiveSupport::TestCase 3 class DisplayHelperTest < ActiveSupport::TestCase
4 4
test/unit/doc_item_test.rb
1 -require 'test_helper' 1 +require_relative "../test_helper"
2 2
3 class DocItemTest < ActiveSupport::TestCase 3 class DocItemTest < ActiveSupport::TestCase
4 4
test/unit/doc_section_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require 'test_helper' 2 +require_relative "../test_helper"
3 3
4 class DocSectionTest < ActiveSupport::TestCase 4 class DocSectionTest < ActiveSupport::TestCase
5 5
test/unit/doc_topic_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 3
4 class DocTopicTest < ActiveSupport::TestCase 4 class DocTopicTest < ActiveSupport::TestCase
5 should 'be a DocItem' do 5 should 'be a DocItem' do
test/unit/domain_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class DomainTest < ActiveSupport::TestCase 3 class DomainTest < ActiveSupport::TestCase
4 fixtures :domains, :environments, :profiles, :users 4 fixtures :domains, :environments, :profiles, :users
test/unit/email_activation_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class EmailActivationTest < ActiveSupport::TestCase 3 class EmailActivationTest < ActiveSupport::TestCase
4 4
test/unit/enterprise_activation_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class EnterpriseActivationTest < ActiveSupport::TestCase 3 class EnterpriseActivationTest < ActiveSupport::TestCase
4 4
test/unit/enterprise_homepage_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class EnterpriseHomepageHelperTest < ActiveSupport::TestCase 3 class EnterpriseHomepageHelperTest < ActiveSupport::TestCase
4 4
test/unit/enterprise_homepage_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class EnterpriseHomepageTest < ActiveSupport::TestCase 3 class EnterpriseHomepageTest < ActiveSupport::TestCase
4 4
test/unit/enterprise_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 3
4 class EnterpriseTest < ActiveSupport::TestCase 4 class EnterpriseTest < ActiveSupport::TestCase
5 fixtures :profiles, :environments, :users 5 fixtures :profiles, :environments, :users
test/unit/enterprises_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class EnterprisesBlockTest < ActiveSupport::TestCase 3 class EnterprisesBlockTest < ActiveSupport::TestCase
4 4
test/unit/environment_mailing_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class EnvironmentMailingTest < ActiveSupport::TestCase 3 class EnvironmentMailingTest < ActiveSupport::TestCase
4 4
test/unit/environment_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class EnvironmentTest < ActiveSupport::TestCase 3 class EnvironmentTest < ActiveSupport::TestCase
4 fixtures :environments 4 fixtures :environments
test/unit/event_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class EventTest < ActiveSupport::TestCase 3 class EventTest < ActiveSupport::TestCase
4 4
test/unit/events_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class EventsHelperTest < ActiveSupport::TestCase 3 class EventsHelperTest < ActiveSupport::TestCase
4 4
test/unit/extended_tag_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'extended_tag.rb' 2 require 'extended_tag.rb'
3 3
4 class UserTest < ActiveSupport::TestCase 4 class UserTest < ActiveSupport::TestCase
test/unit/external_feed_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ExternalFeedTest < ActiveSupport::TestCase 3 class ExternalFeedTest < ActiveSupport::TestCase
4 4
test/unit/fans_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class FansBlockTest < ActiveSupport::TestCase 3 class FansBlockTest < ActiveSupport::TestCase
4 4
test/unit/favorite_enterprises_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class FavoriteEnterprisesBlockTest < ActiveSupport::TestCase 3 class FavoriteEnterprisesBlockTest < ActiveSupport::TestCase
4 4
test/unit/featured_products_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class FeaturedProductsBlockTest < ActiveSupport::TestCase 3 class FeaturedProductsBlockTest < ActiveSupport::TestCase
4 4
test/unit/feed_handler_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class FeedHandlerTest < ActiveSupport::TestCase 3 class FeedHandlerTest < ActiveSupport::TestCase
4 4
test/unit/feed_reader_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class FeedReaderBlockTest < ActiveSupport::TestCase 3 class FeedReaderBlockTest < ActiveSupport::TestCase
4 4
test/unit/feed_updater_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class FeedUpdaterTest < ActiveSupport::TestCase 3 class FeedUpdaterTest < ActiveSupport::TestCase
4 4
test/unit/feed_writer_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class FeedWriterTest < ActiveSupport::TestCase 3 class FeedWriterTest < ActiveSupport::TestCase
4 4
test/unit/file_presenter_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class FilePresenterTest < ActiveSupport::TestCase 3 class FilePresenterTest < ActiveSupport::TestCase
4 4
test/unit/folder_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class FolderHelperTest < ActionView::TestCase 3 class FolderHelperTest < ActionView::TestCase
4 4
test/unit/folder_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class FolderTest < ActiveSupport::TestCase 3 class FolderTest < ActiveSupport::TestCase
4 4
test/unit/forgot_password_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ForgotPasswordHelperTest < ActionView::TestCase 3 class ForgotPasswordHelperTest < ActionView::TestCase
4 include ForgotPasswordHelper 4 include ForgotPasswordHelper
test/unit/forms_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class FormsHelperTest < ActiveSupport::TestCase 3 class FormsHelperTest < ActiveSupport::TestCase
4 4
test/unit/forum_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ForumHelperTest < ActiveSupport::TestCase 3 class ForumHelperTest < ActiveSupport::TestCase
4 4
test/unit/forum_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ForumTest < ActiveSupport::TestCase 3 class ForumTest < ActiveSupport::TestCase
4 4
test/unit/friendship_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class FriendshipTest < ActiveSupport::TestCase 3 class FriendshipTest < ActiveSupport::TestCase
4 4
test/unit/gallery_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class GalleryTest < ActiveSupport::TestCase 3 class GalleryTest < ActiveSupport::TestCase
4 4
test/unit/get_email_contacts_job_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class GetEmailContactsJobTest < ActiveSupport::TestCase 3 class GetEmailContactsJobTest < ActiveSupport::TestCase
4 4
test/unit/google_maps_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class GoogleMapsTest < ActiveSupport::TestCase 3 class GoogleMapsTest < ActiveSupport::TestCase
4 4
test/unit/gravatar_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class GravatarTest < ActiveSupport::TestCase 3 class GravatarTest < ActiveSupport::TestCase
4 4
test/unit/highlights_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class HighlightsBlockTest < ActiveSupport::TestCase 3 class HighlightsBlockTest < ActiveSupport::TestCase
4 4
test/unit/image_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ImageTest < ActiveSupport::TestCase 3 class ImageTest < ActiveSupport::TestCase
4 fixtures :images 4 fixtures :images
test/unit/input_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class InputTest < ActiveSupport::TestCase 3 class InputTest < ActiveSupport::TestCase
4 4
test/unit/integer_core_ext_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 # tests for Integer core extension. See lib/noosfero/core_ext/integer.rb 3 # tests for Integer core extension. See lib/noosfero/core_ext/integer.rb
4 class IntegerCoreExtTest < ActiveSupport::TestCase 4 class IntegerCoreExtTest < ActiveSupport::TestCase
test/unit/invitation_job_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class InvitationJobTest < ActiveSupport::TestCase 3 class InvitationJobTest < ActiveSupport::TestCase
4 4
test/unit/invitation_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class InvitationTest < ActiveSupport::TestCase 3 class InvitationTest < ActiveSupport::TestCase
4 4
test/unit/invite_friend_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class InviteFriendTest < ActiveSupport::TestCase 3 class InviteFriendTest < ActiveSupport::TestCase
4 4
test/unit/invite_member_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class InviteMemberTest < ActiveSupport::TestCase 3 class InviteMemberTest < ActiveSupport::TestCase
4 4
test/unit/language_helper_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 3
4 class LanguageHelperTest < ActiveSupport::TestCase 4 class LanguageHelperTest < ActiveSupport::TestCase
5 5
test/unit/layout_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class LayoutHelperTest < ActionView::TestCase 3 class LayoutHelperTest < ActionView::TestCase
4 4
test/unit/layout_template_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class LayoutTemplateTest < ActiveSupport::TestCase 3 class LayoutTemplateTest < ActiveSupport::TestCase
4 4
test/unit/license_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class LicenseTest < ActiveSupport::TestCase 3 class LicenseTest < ActiveSupport::TestCase
4 should 'validate presence of name and environment' do 4 should 'validate presence of name and environment' do
test/unit/lightbox_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class LightboxHelperTest < ActiveSupport::TestCase 3 class LightboxHelperTest < ActiveSupport::TestCase
4 4
test/unit/link_list_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class LinkListBlockTest < ActiveSupport::TestCase 3 class LinkListBlockTest < ActiveSupport::TestCase
4 4
test/unit/load_config_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class LoadConfigTest < ActiveSupport::TestCase 3 class LoadConfigTest < ActiveSupport::TestCase
4 4
test/unit/location_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class LocationBlockTest < ActiveSupport::TestCase 3 class LocationBlockTest < ActiveSupport::TestCase
4 4
test/unit/login_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class LoginBlockTest < ActiveSupport::TestCase 3 class LoginBlockTest < ActiveSupport::TestCase
4 4
test/unit/macro_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class MacroTest < ActiveSupport::TestCase 3 class MacroTest < ActiveSupport::TestCase
4 4
test/unit/macros_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class MacrosHelperTest < ActionView::TestCase 3 class MacrosHelperTest < ActionView::TestCase
4 include MacrosHelper 4 include MacrosHelper
test/unit/mail_conf_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class MailConfTest < ActiveSupport::TestCase 3 class MailConfTest < ActiveSupport::TestCase
4 4
test/unit/mailing_job_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class MailingJobTest < ActiveSupport::TestCase 3 class MailingJobTest < ActiveSupport::TestCase
4 4
test/unit/mailing_sent_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class MailingSentTest < ActiveSupport::TestCase 3 class MailingSentTest < ActiveSupport::TestCase
4 4
test/unit/mailing_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class MailingTest < ActiveSupport::TestCase 3 class MailingTest < ActiveSupport::TestCase
4 4
test/unit/main_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class MainBlockTest < ActiveSupport::TestCase 3 class MainBlockTest < ActiveSupport::TestCase
4 4
test/unit/manage_products_helper_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 3
4 class ManageProductsHelperTest < ActionView::TestCase 4 class ManageProductsHelperTest < ActionView::TestCase
5 5
test/unit/moderate_user_registration_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 3
4 class ModerateUserRegistrationTest < ActiveSupport::TestCase 4 class ModerateUserRegistrationTest < ActiveSupport::TestCase
5 fixtures :users, :environments 5 fixtures :users, :environments
test/unit/multi_tenancy.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require 'noosfero/multi_tenancy' 2 require 'noosfero/multi_tenancy'
3 3
4 class MultiTenancyTest < ActiveSupport::TestCase 4 class MultiTenancyTest < ActiveSupport::TestCase
test/unit/my_network_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class MyNetworkBlockTest < ActiveSupport::TestCase 3 class MyNetworkBlockTest < ActiveSupport::TestCase
4 4
test/unit/national_region_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class NationalRegionTest < ActiveSupport::TestCase 3 class NationalRegionTest < ActiveSupport::TestCase
4 4
test/unit/noosfero_i18n_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class NoosferoI18nTest < ActiveSupport::TestCase 3 class NoosferoI18nTest < ActiveSupport::TestCase
4 4
test/unit/noosfero_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 require_dependency 'noosfero' 2 require_dependency 'noosfero'
3 3
4 class NoosferoTest < ActiveSupport::TestCase 4 class NoosferoTest < ActiveSupport::TestCase
test/unit/notify_activity_to_profiles_job_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class NotifyActivityToProfilesJobTest < ActiveSupport::TestCase 3 class NotifyActivityToProfilesJobTest < ActiveSupport::TestCase
4 4
test/unit/organization_mailing_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class OrganizationMailingTest < ActiveSupport::TestCase 3 class OrganizationMailingTest < ActiveSupport::TestCase
4 4
test/unit/organization_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class OrganizationTest < ActiveSupport::TestCase 3 class OrganizationTest < ActiveSupport::TestCase
4 fixtures :profiles 4 fixtures :profiles
test/unit/pending_task_notifier_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class PendingTaskNotifierTest < ActiveSupport::TestCase 3 class PendingTaskNotifierTest < ActiveSupport::TestCase
4 FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures' 4 FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures'
test/unit/person_notifier_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class PersonNotifierHelperTest < ActionView::TestCase 3 class PersonNotifierHelperTest < ActionView::TestCase
4 4
test/unit/person_notifier_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class PersonNotifierTest < ActiveSupport::TestCase 3 class PersonNotifierTest < ActiveSupport::TestCase
4 FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures' 4 FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures'
test/unit/person_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 3
4 class PersonTest < ActiveSupport::TestCase 4 class PersonTest < ActiveSupport::TestCase
5 fixtures :profiles, :users, :environments 5 fixtures :profiles, :users, :environments
test/unit/plugin_hot_spot_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class PluginHotSpotTest < ActiveSupport::TestCase 3 class PluginHotSpotTest < ActiveSupport::TestCase
4 4
test/unit/plugin_manager_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class PluginManagerTest < ActiveSupport::TestCase 3 class PluginManagerTest < ActiveSupport::TestCase
4 4
test/unit/plugin_settings_test.rb
1 -require 'test_helper' 1 +require_relative "../test_helper"
2 2
3 class SolarSystemPlugin < Noosfero::Plugin 3 class SolarSystemPlugin < Noosfero::Plugin
4 def self.secret_default_setting 4 def self.secret_default_setting
test/unit/plugin_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class PluginTest < ActiveSupport::TestCase 3 class PluginTest < ActiveSupport::TestCase
4 4
test/unit/posts_limit_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class PostsLimitTest < ActiveSupport::TestCase 3 class PostsLimitTest < ActiveSupport::TestCase
4 4
test/unit/price_detail_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class PriceDetailTest < ActiveSupport::TestCase 3 class PriceDetailTest < ActiveSupport::TestCase
4 4
test/unit/product_categories_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ProductCategoriesBlockTest < ActiveSupport::TestCase 3 class ProductCategoriesBlockTest < ActiveSupport::TestCase
4 should 'not be visible if products are disabled on the environment ' do 4 should 'not be visible if products are disabled on the environment ' do
test/unit/product_category_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ProductCategoryTest < ActiveSupport::TestCase 3 class ProductCategoryTest < ActiveSupport::TestCase
4 4
test/unit/product_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ProductTest < ActiveSupport::TestCase 3 class ProductTest < ActiveSupport::TestCase
4 4
test/unit/production_cost_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ProductionCostTest < ActiveSupport::TestCase 3 class ProductionCostTest < ActiveSupport::TestCase
4 4
test/unit/products_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ProductsBlockTest < ActiveSupport::TestCase 3 class ProductsBlockTest < ActiveSupport::TestCase
4 4
test/unit/profile_categorization_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ProfileCategorizationTest < ActiveSupport::TestCase 3 class ProfileCategorizationTest < ActiveSupport::TestCase
4 4
test/unit/profile_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ProfileHelperTest < ActiveSupport::TestCase 3 class ProfileHelperTest < ActiveSupport::TestCase
4 4
test/unit/profile_image_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ProfileImageBlockTest < ActiveSupport::TestCase 3 class ProfileImageBlockTest < ActiveSupport::TestCase
4 4
test/unit/profile_info_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ProfileInfoBlockTest < ActiveSupport::TestCase 3 class ProfileInfoBlockTest < ActiveSupport::TestCase
4 4
test/unit/profile_list_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ProfileListBlockTest < ActiveSupport::TestCase 3 class ProfileListBlockTest < ActiveSupport::TestCase
4 4
test/unit/profile_search_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ProfileSearchBlockTest < ActiveSupport::TestCase 3 class ProfileSearchBlockTest < ActiveSupport::TestCase
4 4
test/unit/profile_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 3
4 class ProfileTest < ActiveSupport::TestCase 4 class ProfileTest < ActiveSupport::TestCase
5 fixtures :profiles, :environments, :users, :roles, :domains 5 fixtures :profiles, :environments, :users, :roles, :domains
test/unit/qualifier_certifier_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class QualifierCertifierTest < ActiveSupport::TestCase 3 class QualifierCertifierTest < ActiveSupport::TestCase
4 4
test/unit/qualifier_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 3
4 class QualifierTest < ActiveSupport::TestCase 4 class QualifierTest < ActiveSupport::TestCase
5 5
test/unit/raw_html_article_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class RawHTMLArticleTest < ActiveSupport::TestCase 3 class RawHTMLArticleTest < ActiveSupport::TestCase
4 4
test/unit/raw_html_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class RawHTMLBlockTest < ActiveSupport::TestCase 3 class RawHTMLBlockTest < ActiveSupport::TestCase
4 4
test/unit/recent_documents_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class RecentDocumentsBlockTest < ActiveSupport::TestCase 3 class RecentDocumentsBlockTest < ActiveSupport::TestCase
4 4
test/unit/region_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class RegionTest < ActiveSupport::TestCase 3 class RegionTest < ActiveSupport::TestCase
4 4
test/unit/role_assignment_ext_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class RoleAssignmentExtTest < ActiveSupport::TestCase 3 class RoleAssignmentExtTest < ActiveSupport::TestCase
4 should 'increase organization members_count only on the first role_assignment' do 4 should 'increase organization members_count only on the first role_assignment' do
test/unit/rss_feed_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class RssFeedTest < ActiveSupport::TestCase 3 class RssFeedTest < ActiveSupport::TestCase
4 4
test/unit/scope_tool.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ScopeToolTest < ActiveSupport::TestCase 3 class ScopeToolTest < ActiveSupport::TestCase
4 include ScopeTool 4 include ScopeTool
test/unit/scrap_notifier_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ScrapNotifierTest < ActiveSupport::TestCase 3 class ScrapNotifierTest < ActiveSupport::TestCase
4 FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures' 4 FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures'
test/unit/scrap_test.rb
1 -require File.join(File.dirname(__FILE__), '..', 'test_helper') 1 +require_relative "../test_helper"
2 2
3 class ScrapTest < ActiveSupport::TestCase 3 class ScrapTest < ActiveSupport::TestCase
4 4
test/unit/search_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class SearchHelperTest < ActiveSupport::TestCase 3 class SearchHelperTest < ActiveSupport::TestCase
4 4
test/unit/sellers_search_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class SellersSearchBlockTest < ActiveSupport::TestCase 3 class SellersSearchBlockTest < ActiveSupport::TestCase
4 4
test/unit/set_profile_region_from_city_state_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class SetProfileRegionFromCityStateTest < ActiveSupport::TestCase 3 class SetProfileRegionFromCityStateTest < ActiveSupport::TestCase
4 4
test/unit/short_filename_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class NoosferoFilenamesTest < ActiveSupport::TestCase 3 class NoosferoFilenamesTest < ActiveSupport::TestCase
4 4
test/unit/slideshow_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class SlideshowBlockTest < ActiveSupport::TestCase 3 class SlideshowBlockTest < ActiveSupport::TestCase
4 4
test/unit/slug_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 # tests for String#to_slug core extension. See lib/noosfero/core_ext/string.rb 3 # tests for String#to_slug core extension. See lib/noosfero/core_ext/string.rb
4 class SlugTest < ActiveSupport::TestCase 4 class SlugTest < ActiveSupport::TestCase
test/unit/spammer_logger_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class SpammerLoggerTest < ActiveSupport::TestCase 3 class SpammerLoggerTest < ActiveSupport::TestCase
4 should 'log the spammer ip' do 4 should 'log the spammer ip' do
test/unit/sqlite_extension_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 # if this test is run without SQLite (e.g. with mysql or postgres), the tests 3 # if this test is run without SQLite (e.g. with mysql or postgres), the tests
4 # will just pass. The idea is to test our local extensions to SQLite. 4 # will just pass. The idea is to test our local extensions to SQLite.
test/unit/state_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class StateTest < ActiveSupport::TestCase 3 class StateTest < ActiveSupport::TestCase
4 # Replace this with your real tests. 4 # Replace this with your real tests.
test/unit/string_core_ext_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 3
4 # tests for String core extension. See lib/noosfero/core_ext/string.rb 4 # tests for String core extension. See lib/noosfero/core_ext/string.rb
5 class StringCoreExtTest < ActiveSupport::TestCase 5 class StringCoreExtTest < ActiveSupport::TestCase
test/unit/suggest_article_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class SuggestArticleTest < ActiveSupport::TestCase 3 class SuggestArticleTest < ActiveSupport::TestCase
4 4
test/unit/tags_block_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class TagsBlockTest < ActiveSupport::TestCase 3 class TagsBlockTest < ActiveSupport::TestCase
4 4
test/unit/tags_helper_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 3
4 class TagsHelperTest < ActiveSupport::TestCase 4 class TagsHelperTest < ActiveSupport::TestCase
5 5
test/unit/task_mailer_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class TaskMailerTest < ActiveSupport::TestCase 3 class TaskMailerTest < ActiveSupport::TestCase
4 FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures' 4 FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures'
test/unit/task_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class TaskTest < ActiveSupport::TestCase 3 class TaskTest < ActiveSupport::TestCase
4 4
test/unit/text_article_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class TextArticleTest < ActiveSupport::TestCase 3 class TextArticleTest < ActiveSupport::TestCase
4 4
test/unit/textile_article_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class TextileArticleTest < ActiveSupport::TestCase 3 class TextileArticleTest < ActiveSupport::TestCase
4 4
test/unit/theme_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ThemeTest < ActiveSupport::TestCase 3 class ThemeTest < ActiveSupport::TestCase
4 4
test/unit/thickbox_helper_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ThickboxHelperTest < ActiveSupport::TestCase 3 class ThickboxHelperTest < ActiveSupport::TestCase
4 include ThickboxHelper 4 include ThickboxHelper
test/unit/thumbnail_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ThumbnailTest < ActiveSupport::TestCase 3 class ThumbnailTest < ActiveSupport::TestCase
4 4
test/unit/ticket_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class TicketTest < ActiveSupport::TestCase 3 class TicketTest < ActiveSupport::TestCase
4 4
test/unit/tiny_mce_article_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 3
4 class TinyMceArticleTest < ActiveSupport::TestCase 4 class TinyMceArticleTest < ActiveSupport::TestCase
5 5
test/unit/translatable_content_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class TranslatableContentTest < ActiveSupport::TestCase 3 class TranslatableContentTest < ActiveSupport::TestCase
4 4
test/unit/unit_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class UnitTest < ActiveSupport::TestCase 3 class UnitTest < ActiveSupport::TestCase
4 4
test/unit/uploaded_file_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class UploadedFileTest < ActiveSupport::TestCase 3 class UploadedFileTest < ActiveSupport::TestCase
4 4
test/unit/user_activation_job_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class NotifyActivityToProfilesJobTest < ActiveSupport::TestCase 3 class NotifyActivityToProfilesJobTest < ActiveSupport::TestCase
4 4
test/unit/user_mailer_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class UserMailerTest < ActiveSupport::TestCase 3 class UserMailerTest < ActiveSupport::TestCase
4 FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures' 4 FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures'
test/unit/user_test.rb
1 # encoding: UTF-8 1 # encoding: UTF-8
2 -require File.dirname(__FILE__) + '/../test_helper' 2 +require_relative "../test_helper"
3 3
4 class UserTest < ActiveSupport::TestCase 4 class UserTest < ActiveSupport::TestCase
5 # Be sure to include AuthenticatedTestHelper in test/test_helper.rb instead. 5 # Be sure to include AuthenticatedTestHelper in test/test_helper.rb instead.
test/unit/validation_info_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class ValidationInfoTest < ActiveSupport::TestCase 3 class ValidationInfoTest < ActiveSupport::TestCase
4 4
test/unit/white_list_filter_test.rb
1 -require File.dirname(__FILE__) + '/../test_helper' 1 +require_relative "../test_helper"
2 2
3 class WhiteListFilterTest < ActiveSupport::TestCase 3 class WhiteListFilterTest < ActiveSupport::TestCase
4 4