]> source.dussan.org Git - redmine.git/commitdiff
remove unneeded including ApplicationHelper from helper tests
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 26 Dec 2013 04:27:21 +0000 (04:27 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 26 Dec 2013 04:27:21 +0000 (04:27 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12463 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/helpers/issues_helper_test.rb
test/unit/lib/redmine/field_format/link_format_test.rb
test/unit/lib/redmine/field_format/user_field_format_test.rb
test/unit/lib/redmine/field_format/version_field_format_test.rb
test/unit/lib/redmine/helpers/gantt_test.rb
test/unit/lib/redmine/wiki_formatting/markdown_formatter.rb

index 646588da38af4d7252dc903cc61d7349ff60a68b..75b5ca407e7542e6b018b8f88d6c8eab0dd986c8 100644 (file)
@@ -18,7 +18,6 @@
 require File.expand_path('../../../test_helper', __FILE__)
 
 class IssuesHelperTest < ActionView::TestCase
-  include ApplicationHelper
   include Redmine::I18n
   include IssuesHelper
   include CustomFieldsHelper
index 04f702728231d0f8c49806a1e053cd1b12e7b65b..961db296ce1483b1e7265cd568fcf6fd73ab29f9 100644 (file)
@@ -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")
index 7cd28836b56d789d3188c53712d3545e2022a3e0..9d4130cc79e309cb20ea565eac07ea952a3edd70 100644 (file)
@@ -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
index e6d98e7ba0dc2a2b6eb82dc42fa5c20e207aaef3..f9e50c42c365026f827cbb6da5210b73f37298ec 100644 (file)
@@ -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
index 2f0fc45cc5c454b5ea2ac67b0e3dcf2af17ddba2..b531a846a9107c54a5d083052390d37939c0d0a6 100644 (file)
@@ -29,7 +29,6 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase
            :versions,
            :groups_users
 
-  include ApplicationHelper
   include ProjectsHelper
   include IssuesHelper
   include ERB::Util
index 191b54ea7d995578bf045df42912e5bf3796119f..402b809e62b6f32760002740c1794a2093e6acee 100644 (file)
@@ -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