Feature #19371 » add-test-for-the-parent-task-subject.patch
| test/functional/issues_controller_test.rb | ||
|---|---|---|
|
assert_select 'td.parent a[title=?]', parent.subject
|
||
|
end
|
||
|
def test_index_with_parent_subject_column
|
||
|
Issue.delete_all
|
||
|
parent = Issue.generate!
|
||
|
child = Issue.generate!(:parent_issue_id => parent.id)
|
||
|
get :index, :params => {
|
||
|
:c => %w(parent.subject)
|
||
|
}
|
||
|
assert_select 'table.issues' do
|
||
|
assert_select 'th.parent-subject', :text => l(:field_parent_issue_subject)
|
||
|
assert_select "tr#issue-#{child.id}" do
|
||
|
assert_select 'td.parent-subject', :text => parent.subject
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
def test_index_with_last_updated_by_column
|
||
|
get :index, :params => {
|
||
|
:c => %w(subject last_updated_by),
|
||
- « Previous
- 1
- 2
- 3
- Next »