Commit 3d39693e authored by jakeburden's avatar jakeburden

Account for rails timezones in test

parent 36f01a2d
......@@ -3,7 +3,7 @@
require 'spec_helper'
RSpec.describe 'User views releases', :js do
let_it_be(:today) { Time.now }
let_it_be(:today) { Time.zone.now }
let_it_be(:yesterday) { today - 1.day }
let_it_be(:tomorrow) { today + 1.day }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment