mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
Fix missing iso_timestamp variable by using time.iso8601 directly
This commit is contained in:
parent
f1f6d2c715
commit
40a94c16f1
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(iso_timestamp).to_i)
|
||||
expect(created_point.timestamp).to eq(DateTime.parse(time.iso8601).to_i)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue