mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
Change time resolution in RSpec for RecordsParser
This commit is contained in:
parent
b9a4a9c530
commit
49efd777d3
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ RSpec.describe GoogleMaps::RecordsParser do
|
|||
it 'parses ISO 8601 timestamp correctly' do
|
||||
expect { parser }.to change(Point, :count).by(1)
|
||||
created_point = Point.last
|
||||
expect(created_point.timestamp).to eq(DateTime.parse(time.iso8601).to_i)
|
||||
expect(created_point.timestamp).to eq(time.to_i)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue