mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-26 02:31:09 +00:00
TimelogTest#test_default_query_setting fails depending on the language of the browser (#31074).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18032 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8a0c88a6f1
commit
08e3b975dc
@ -75,11 +75,13 @@ class TimelogTest < ApplicationSystemTestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_default_query_setting
|
def test_default_query_setting
|
||||||
# Display the list with the default settings
|
with_settings :default_language => 'en', :force_default_language_for_anonymous => '1' do
|
||||||
visit '/time_entries'
|
# Display the list with the default settings
|
||||||
within 'table.time-entries thead' do
|
visit '/time_entries'
|
||||||
assert page.has_no_link?('Tracker')
|
within 'table.time-entries thead' do
|
||||||
assert page.has_text?('Comment')
|
assert page.has_no_link?('Tracker')
|
||||||
|
assert page.has_text?('Comment')
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Change the default columns
|
# Change the default columns
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user