diff options
| author | Zog | 2018-03-12 15:50:52 +0100 |
|---|---|---|
| committer | Zog | 2018-03-12 15:50:52 +0100 |
| commit | 32244ec2195eff67d1e6abca90db2657234a37bb (patch) | |
| tree | fd89424e896e206e73f8c5ec2e6ae8bde2c0ff38 /spec/models/export | |
| parent | faa6c9b8a4262fb2c5212fd3b971337881bb242b (diff) | |
| download | chouette-core-32244ec2195eff67d1e6abca90db2657234a37bb.tar.bz2 | |
Fix specs
Diffstat (limited to 'spec/models/export')
| -rw-r--r-- | spec/models/export/export_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/export/export_spec.rb b/spec/models/export/export_spec.rb index ca94c1ff1..48d8aa44a 100644 --- a/spec/models/export/export_spec.rb +++ b/spec/models/export/export_spec.rb @@ -125,8 +125,8 @@ RSpec.describe Export::Base, type: :model do netex_export.status = :bar netex_export.notify_parent - expect(netex_export.notified_parent_at).to eq Time.now - expect(netex_export.reload.notified_parent_at).to eq Time.now + expect(netex_export.notified_parent_at.to_datetime).to eq Time.now.to_datetime + expect(netex_export.reload.notified_parent_at.to_datetime).to eq Time.now.to_datetime end end end |
