From c97986aa52238716482dae7c8338bc22432c766e Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 26 Dec 2013 04:27:21 +0000 Subject: [PATCH] remove unneeded including ApplicationHelper from helper tests git-svn-id: http://svn.redmine.org/redmine/trunk@12463 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/helpers/issues_helper_test.rb | 1 - test/unit/lib/redmine/field_format/link_format_test.rb | 2 -- test/unit/lib/redmine/field_format/user_field_format_test.rb | 2 -- test/unit/lib/redmine/field_format/version_field_format_test.rb | 2 -- test/unit/lib/redmine/helpers/gantt_test.rb | 1 - test/unit/lib/redmine/wiki_formatting/markdown_formatter.rb | 2 -- 6 files changed, 10 deletions(-) diff --git a/test/unit/helpers/issues_helper_test.rb b/test/unit/helpers/issues_helper_test.rb index 646588da3..75b5ca407 100644 --- a/test/unit/helpers/issues_helper_test.rb +++ b/test/unit/helpers/issues_helper_test.rb @@ -18,7 +18,6 @@ require File.expand_path('../../../test_helper', __FILE__) class IssuesHelperTest < ActionView::TestCase - include ApplicationHelper include Redmine::I18n include IssuesHelper include CustomFieldsHelper diff --git a/test/unit/lib/redmine/field_format/link_format_test.rb b/test/unit/lib/redmine/field_format/link_format_test.rb index 04f702728..961db296c 100644 --- a/test/unit/lib/redmine/field_format/link_format_test.rb +++ b/test/unit/lib/redmine/field_format/link_format_test.rb @@ -19,8 +19,6 @@ require File.expand_path('../../../../../test_helper', __FILE__) require 'redmine/field_format' class Redmine::LinkFieldFormatTest < ActionView::TestCase - include ApplicationHelper - def test_link_field_should_substitute_value field = IssueCustomField.new(:field_format => 'link', :url_pattern => 'http://foo/%value%') custom_value = CustomValue.new(:custom_field => field, :customized => Issue.new, :value => "bar") diff --git a/test/unit/lib/redmine/field_format/user_field_format_test.rb b/test/unit/lib/redmine/field_format/user_field_format_test.rb index 7cd28836b..9d4130cc7 100644 --- a/test/unit/lib/redmine/field_format/user_field_format_test.rb +++ b/test/unit/lib/redmine/field_format/user_field_format_test.rb @@ -19,8 +19,6 @@ require File.expand_path('../../../../../test_helper', __FILE__) require 'redmine/field_format' class Redmine::UserFieldFormatTest < ActionView::TestCase - include ApplicationHelper - fixtures :projects, :roles, :users, :members, :member_roles def test_user_role_should_reject_blank_values diff --git a/test/unit/lib/redmine/field_format/version_field_format_test.rb b/test/unit/lib/redmine/field_format/version_field_format_test.rb index e6d98e7ba..f9e50c42c 100644 --- a/test/unit/lib/redmine/field_format/version_field_format_test.rb +++ b/test/unit/lib/redmine/field_format/version_field_format_test.rb @@ -19,8 +19,6 @@ require File.expand_path('../../../../../test_helper', __FILE__) require 'redmine/field_format' class Redmine::VersionFieldFormatTest < ActionView::TestCase - include ApplicationHelper - fixtures :projects, :versions, :trackers def test_version_status_should_reject_blank_values diff --git a/test/unit/lib/redmine/helpers/gantt_test.rb b/test/unit/lib/redmine/helpers/gantt_test.rb index 2f0fc45cc..b531a846a 100644 --- a/test/unit/lib/redmine/helpers/gantt_test.rb +++ b/test/unit/lib/redmine/helpers/gantt_test.rb @@ -29,7 +29,6 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase :versions, :groups_users - include ApplicationHelper include ProjectsHelper include IssuesHelper include ERB::Util diff --git a/test/unit/lib/redmine/wiki_formatting/markdown_formatter.rb b/test/unit/lib/redmine/wiki_formatting/markdown_formatter.rb index 191b54ea7..402b809e6 100644 --- a/test/unit/lib/redmine/wiki_formatting/markdown_formatter.rb +++ b/test/unit/lib/redmine/wiki_formatting/markdown_formatter.rb @@ -18,8 +18,6 @@ require File.expand_path('../../../../../test_helper', __FILE__) class Redmine::WikiFormatting::MarkdownFormatterTest < ActionView::TestCase - include ApplicationHelper - if Object.const_defined?(:Redcarpet) def setup -- 2.39.5