Feature #19371 » add-test-for-the-parent-task-subject.patch
test/functional/issues_controller_test.rb | ||
---|---|---|
1430 | 1430 |
assert_select 'td.parent a[title=?]', parent.subject |
1431 | 1431 |
end |
1432 | 1432 | |
1433 |
def test_index_with_parent_subject_column |
|
1434 |
Issue.delete_all |
|
1435 |
parent = Issue.generate! |
|
1436 |
child = Issue.generate!(:parent_issue_id => parent.id) |
|
1437 | ||
1438 |
get :index, :params => { |
|
1439 |
:c => %w(parent.subject) |
|
1440 |
} |
|
1441 | ||
1442 |
assert_select 'table.issues' do |
|
1443 |
assert_select 'th.parent-subject', :text => l(:field_parent_issue_subject) |
|
1444 |
assert_select "tr#issue-#{child.id}" do |
|
1445 |
assert_select 'td.parent-subject', :text => parent.subject |
|
1446 |
end |
|
1447 |
end |
|
1448 |
end |
|
1449 | ||
1433 | 1450 |
def test_index_with_last_updated_by_column |
1434 | 1451 |
get :index, :params => { |
1435 | 1452 |
:c => %w(subject last_updated_by), |
- « Previous
- 1
- 2
- 3
- Next »