diff options
-rw-r--r-- | test/system/timelog_test.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/system/timelog_test.rb b/test/system/timelog_test.rb index 58886c050..7c637d6cd 100644 --- a/test/system/timelog_test.rb +++ b/test/system/timelog_test.rb @@ -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 |