lib/wcc/contentful/test/factory.rb in wcc-contentful-1.5.1 vs lib/wcc/contentful/test/factory.rb in wcc-contentful-1.6.0
- old
+ new
@@ -60,11 +60,11 @@
id: ENV.fetch('CONTENTFUL_SPACE_ID', nil)
}
},
id: id || SecureRandom.urlsafe_base64,
type: 'Entry',
- createdAt: Time.now.to_s(:iso8601),
- updatedAt: Time.now.to_s(:iso8601),
+ createdAt: Time.now.to_formatted_s(:iso8601),
+ updatedAt: Time.now.to_formatted_s(:iso8601),
environment: {
sys: {
id: 'master',
type: 'Link',
linkType: 'Environment'