mirror of
https://github.com/redmine/redmine.git
synced 2025-11-12 16:26:03 +01:00
Use fixtures :all to ensure consistent test data and improve test reliability (#41961).
Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -22,14 +22,6 @@ require_relative '../test_helper'
|
||||
class QueriesHelperTest < Redmine::HelperTest
|
||||
include QueriesHelper
|
||||
|
||||
fixtures :projects, :enabled_modules, :users, :members,
|
||||
:member_roles, :roles, :trackers, :issue_statuses,
|
||||
:issue_categories, :enumerations, :issues,
|
||||
:watchers, :custom_fields, :custom_values, :versions,
|
||||
:queries,
|
||||
:projects_trackers,
|
||||
:custom_fields_trackers
|
||||
|
||||
def test_filters_options_for_select_should_have_a_blank_option
|
||||
options = filters_options_for_select(IssueQuery.new)
|
||||
assert_select_in options, 'option[value=""]'
|
||||
|
||||
Reference in New Issue
Block a user