mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 07:21:12 +00:00
Fix the test name different from the actual behavior (#31994).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18452 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e54f1b23ec
commit
4336da5533
@ -151,7 +151,7 @@ class AutoCompletesControllerTest < Redmine::ControllerTest
|
|||||||
assert_include 'application/json', response.headers['Content-Type']
|
assert_include 'application/json', response.headers['Content-Type']
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_auto_complete_without_term_should_return_last_10_updated_issues
|
def test_auto_complete_without_term_should_return_last_10_issues
|
||||||
# There are 9 issues generated by fixtures
|
# There are 9 issues generated by fixtures
|
||||||
# and we need two more to test the 10 limit
|
# and we need two more to test the 10 limit
|
||||||
%w(1..2).each do
|
%w(1..2).each do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user