Skip to content

Commit

Permalink
Update test for quick replies
Browse files Browse the repository at this point in the history
  • Loading branch information
stojanovic committed Dec 4, 2016
1 parent e37aa2f commit 4de0b69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/facebook/facebook-parse-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ describe('Facebook parse', () => {
recipient: { id: '67890' },
timestamp: 1465558466933,
message: {
text: 'Some text',
mid: 'mid.1464990849238:b9a22a2bcb1de31773',
seq: 69,
quick_reply: {
Expand All @@ -48,9 +47,10 @@ describe('Facebook parse', () => {
};
expect(parse(msg)).toEqual({
sender: '12345',
text: 'Some text',
text: 'QUICK_REPLY',
originalRequest: msg,
type: 'facebook'
type: 'facebook',
postback: true
});
});
it('does not parse the object if it is delivery report', () => {
Expand Down

0 comments on commit 4de0b69

Please sign in to comment.