Skip to content

Commit

Permalink
update tests for latest moment
Browse files Browse the repository at this point in the history
  • Loading branch information
icambron committed Apr 27, 2016
1 parent ed2e4bf commit 494b59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/twix.spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -1537,7 +1537,7 @@ test = (moment, Twix) ->
describe 'toString', ->
it 'returns a string', ->
stringed = moment.utc('1982-05-25').twix(moment.utc('1982-05-25'), allDay: true).toString()
assertEqual '{start: 1982-05-25T00:00:00+00:00, end: 1982-05-25T00:00:00+00:00, allDay: true}', stringed
assertEqual '{start: 1982-05-25T00:00:00Z, end: 1982-05-25T00:00:00Z, allDay: true}', stringed

describe 'internationalization', ->
it "uses the moment locale's 24-hour setting by default", ->
Expand Down

0 comments on commit 494b59f

Please sign in to comment.