mirror of
https://github.com/internetee/registry.git
synced 2025-06-05 12:17:30 +02:00
Converted to use Rails Time.zone only to honor app time zone
This commit is contained in:
parent
a42136268f
commit
e1041da50f
16 changed files with 34 additions and 31 deletions
|
@ -140,7 +140,7 @@ describe 'EPP Contact', epp: true do
|
|||
|
||||
id.text.length.should == 8
|
||||
# 5 seconds for what-ever weird lag reasons might happen
|
||||
cr_date.text.to_time.should be_within(5).of(Time.now)
|
||||
cr_date.text.to_time.should be_within(5).of(Time.zone.now)
|
||||
end
|
||||
|
||||
it 'successfully saves custom code' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue