Patch #44823 » 0001-Run-three-tests-that-were-named-text_-instead-of-tes.patch
| test/functional/repositories_subversion_controller_test.rb | ||
|---|---|---|
|
assert_select 'audio[src=?]', "/projects/subproject1/repository/#{@repository.id}/raw/subversion_test/folder/subfolder/chords.mp3"
|
||
|
end
|
||
|
def text_entry_should_preview_markdown
|
||
|
def test_entry_should_preview_markdown
|
||
|
get(
|
||
|
:entry,
|
||
|
:params => {
|
||
| ... | ... | |
|
}
|
||
|
)
|
||
|
assert_response :success
|
||
|
assert_select 'div.wiki', :html => "<h1>Header 1</h1>\n\n<h2>Header 2</h2>\n\n<h3>Header 3</h3>"
|
||
|
assert_select 'div.wiki', :html => "<h1>Header 1</h1>\n<h2>Header 2</h2>\n<h3>Header 3</h3>"
|
||
|
end
|
||
|
def text_entry_should_preview_textile
|
||
|
def test_entry_should_preview_textile
|
||
|
get(
|
||
|
:entry,
|
||
|
:params => {
|
||
| test/functional/timelog_controller_test.rb | ||
|---|---|---|
|
assert_equal [entry.id.to_s], css_select('input[name="ids[]"]').map {|e| e.attr(:value)}
|
||
|
end
|
||
|
def text_index_with_issue_subject_filter
|
||
|
def test_index_with_issue_subject_filter
|
||
|
get(
|
||
|
:index,
|
||
|
:params => {
|
||
| ... | ... | |
|
}
|
||
|
)
|
||
|
assert_response :success
|
||
|
assert_equal [3], css_select('input[name="ids[]"]').map {|e| e.attr(:value)}
|
||
|
assert_equal ['3'], css_select('input[name="ids[]"]').map {|e| e.attr(:value)}
|
||
|
end
|
||
|
def test_index_with_project_status_filter
|
||