mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 01:11:12 +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
|
||||
|
||||
def test_default_query_setting
|
||||
# Display the list with the default settings
|
||||
visit '/time_entries'
|
||||
within 'table.time-entries thead' do
|
||||
assert page.has_no_link?('Tracker')
|
||||
assert page.has_text?('Comment')
|
||||
with_settings :default_language => 'en', :force_default_language_for_anonymous => '1' do
|
||||
# Display the list with the default settings
|
||||
visit '/time_entries'
|
||||
within 'table.time-entries thead' do
|
||||
assert page.has_no_link?('Tracker')
|
||||
assert page.has_text?('Comment')
|
||||
end
|
||||
end
|
||||
|
||||
# Change the default columns
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user