diff --git a/CHANGELOG.md b/CHANGELOG.md index b2b0b346..c8264072 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ deploy: ### Changed - A notification about an existing import with the same name will now show the import name +- Export file now also will contain `raw_dat` field for each point. This field contains the original data that was imported to the application. ## [0.12.2] — 2024-08-28 diff --git a/spec/serializers/export_serializer_spec.rb b/spec/serializers/export_serializer_spec.rb index 17efbfb3..e77acff5 100644 --- a/spec/serializers/export_serializer_spec.rb +++ b/spec/serializers/export_serializer_spec.rb @@ -30,7 +30,8 @@ RSpec.describe ExportSerializer do tst: points.first.timestamp.to_i, inrids: points.first.inrids, inregions: points.first.in_regions, - topic: points.first.topic + topic: points.first.topic, + raw_data: points.first.raw_data }, { lat: points.second.latitude, @@ -50,7 +51,8 @@ RSpec.describe ExportSerializer do tst: points.second.timestamp.to_i, inrids: points.second.inrids, inregions: points.second.in_regions, - topic: points.second.topic + topic: points.second.topic, + raw_data: points.second.raw_data } ] }