remove unneeded including ApplicationHelper from helper tests
git-svn-id: http://svn.redmine.org/redmine/trunk@12463 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e9a48cf86a
commit
c97986aa52
|
@ -18,7 +18,6 @@
|
|||
require File.expand_path('../../../test_helper', __FILE__)
|
||||
|
||||
class IssuesHelperTest < ActionView::TestCase
|
||||
include ApplicationHelper
|
||||
include Redmine::I18n
|
||||
include IssuesHelper
|
||||
include CustomFieldsHelper
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -29,7 +29,6 @@ class Redmine::Helpers::GanttHelperTest < ActionView::TestCase
|
|||
:versions,
|
||||
:groups_users
|
||||
|
||||
include ApplicationHelper
|
||||
include ProjectsHelper
|
||||
include IssuesHelper
|
||||
include ERB::Util
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue