mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-22 10:10:12 +01:00
fix timezone issue
try testing at 00:30
This commit is contained in:
parent
e03c521314
commit
80e47b94b0
1 changed files with 2 additions and 2 deletions
|
|
@ -18,11 +18,11 @@ class PreferencesControllerTest < ActionController::TestCase
|
|||
|
||||
get :render_date_format
|
||||
assert_response :success
|
||||
assert_equal I18n.l(Time.zone.now, :format => "%Y-%m-%d"), @response.body
|
||||
assert_equal I18n.l(Date.today, :format => "%Y-%m-%d"), @response.body
|
||||
|
||||
get(:render_date_format, {:date_format => "%A %Y"})
|
||||
assert_response :success
|
||||
assert_equal I18n.l(Time.zone.now, :format => "%A %Y"), @response.body
|
||||
assert_equal I18n.l(Date.today, :format => "%A %Y"), @response.body
|
||||
end
|
||||
|
||||
test "index page requires login" do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue