fix: assert date

This commit is contained in:
Bruno Matos Torrao 2018-02-25 16:31:53 -03:00
parent e7b899b233
commit 821360efba

View File

@ -26,7 +26,7 @@ class JsonParserTest extends Specification {
def 'Should parse to Account given Json String with date property' () { def 'Should parse to Account given Json String with date property' () {
given: given:
def json = '{"id":"1234","value":15.6,"createdAt":"2018-01-01T02:00:00+0000"}' def json = '{"id":"1234","value":15.6,"createdAt":"2018-01-01T00:00:00+0000"}'
when: when:
def account = jsonParser.toObjectWithIndexOverlay(json) def account = jsonParser.toObjectWithIndexOverlay(json)
then: then: