Skip to content

Commit

Permalink
Merge pull request #12 from akiomik/fixtures_chatword_api_v2
Browse files Browse the repository at this point in the history
Fix fixtures for chatwork API v2
  • Loading branch information
kaibadash authored Apr 22, 2017
2 parents fc69be9 + 655c31f commit ae772ef
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/my/tasks.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports.get = [
account_id: 456
name: "Anna"
avatar_image_url: "https://example.com/def.png"
message_id: 13
message_id: "13"
body: "buy milk"
limit_time: 1384354799
status: "open"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/room/file.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports.get =
account_id: 123
name: "Bob"
avatar_image_url: "https://example.com/ico_avatar.png"
message_id: 22
message_id: "22"
filename: "README.md"
filesize: 2232
upload_time: 1384414750
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/room/files.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports.get = [
account_id: 123
name: "Bob"
avatar_image_url: "https://example.com/ico_avatar.png"
message_id: 22
message_id: "22"
filename: "README.md"
filesize: 2232
upload_time: 1384414750
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/room/message.coffee
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
exports.get =
message_id: 5
message_id: "5"
account:
account_id: 123
name: "Bob"
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/room/messages.coffee
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
exports.get = [
message_id: 5
message_id: "5"
account:
account_id: 123
name: "Bob"
Expand All @@ -9,5 +9,5 @@ exports.get = [
update_time: 0
]

exports.post = message_id: 123
exports.post = message_id: "123"

2 changes: 1 addition & 1 deletion test/fixtures/room/task.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports.get =
account_id: 456
name: "Anna"
avatar_image_url: "https://example.com/def.png"
message_id: 13
message_id: "13"
body: "buy milk"
limit_time: 1384354799
status: "open"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/room/tasks.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports.get = [
account_id: 456
name: "Anna"
avatar_image_url: "https://example.com/def.png"
message_id: 13
message_id: "13"
body: "buy milk"
limit_time: 1384354799
status: "open"
Expand Down

0 comments on commit ae772ef

Please sign in to comment.