Fix date formatting to include milliseconds, drop virtus
This commit is contained in:
1 parent
64852feb47
commit
297db0eb66
3 files changed
+7
-4
No files matched your search
@@ -79,7 +79,7 @@ RSpec.describe Google::Apis::Core::JsonRepresentation do
|
||||
end
|
||||
|
||||
it 'serializes date values' do
|
||||
expect(json).to be_json_eql(%("2015-05-01T12:00:00+00:00")).at_path('dateValue')
|
||||
expect(json).to be_json_eql(%("2015-05-01T12:00:00.000+00:00")).at_path('dateValue')
|
||||
end
|
||||
|
||||
it 'serializes byte values to base64' do
|
||||
|
||||
Reference in new issue
Block a user