fix: assert date

This commit is contained in:
Bruno Matos Torrao 2018-02-25 16:34:58 -03:00
parent 821360efba
commit a25497f258
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class JsonParserTest extends Specification {
def json = jsonParser.toJson(account)
then:
json
json == '{"value":15.6,"createdAt":"2018-01-01T02:00:00+0000","id":"123"}'
json == '{"value":15.6,"createdAt":"2018-01-01T00:00:00+0000","id":"123"}'
}
def 'Should parse to Json given an Account object, a date format and fields to exclude' () {