Skip to content

Commit be6ce2f

Browse files
committed
change location test data
1 parent 177517c commit be6ce2f

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

spec/line/bot/send_message_05_location_spec.rb

+20-20
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
user_id = 'user_id'
1515
message = {
1616
type: 'location',
17-
title: 'LINE Corporation.',
18-
address: 'Hikarie Shibuya-ku Tokyo 151-0002',
19-
latitude: 35.61823286112982,
20-
longitude: 139.72824096679688,
17+
title: 'National Diet Building',
18+
address: 'Nagatacho 1-7-1 Chiyoda-ku, Tokyo 100-0014'
19+
latitude: 35.675862,
20+
longitude: 139.744967,
2121
}
2222
response = client.push_message(user_id, message)
2323

@@ -41,10 +41,10 @@
4141
user_id = 'user_id'
4242
message = {
4343
type: 'location',
44-
title: 'LINE Corporation.',
45-
address: 'Hikarie Shibuya-ku Tokyo 151-0002',
46-
latitude: 35.61823286112982,
47-
longitude: 139.72824096679688,
44+
title: 'National Diet Building',
45+
address: 'Nagatacho 1-7-1 Chiyoda-ku, Tokyo 100-0014'
46+
latitude: 35.675862,
47+
longitude: 139.744967,
4848
}
4949
response = client.push_message(user_id, message, payload: {customAggregationUnits: ['test']})
5050

@@ -69,10 +69,10 @@
6969
reply_token = 'reply_token'
7070
message = {
7171
type: 'location',
72-
title: 'LINE Corporation.',
73-
address: 'Hikarie Shibuya-ku Tokyo 151-0002',
74-
latitude: 35.61823286112982,
75-
longitude: 139.72824096679688,
72+
title: 'National Diet Building',
73+
address: 'Nagatacho 1-7-1 Chiyoda-ku, Tokyo 100-0014'
74+
latitude: 35.675862,
75+
longitude: 139.744967,
7676
}
7777
response = client.reply_message(reply_token, message)
7878

@@ -96,10 +96,10 @@
9696
user_ids = ['user1', 'user2']
9797
message = {
9898
type: 'location',
99-
title: 'LINE Corporation.',
100-
address: 'Hikarie Shibuya-ku Tokyo 151-0002',
101-
latitude: 35.61823286112982,
102-
longitude: 139.72824096679688,
99+
title: 'National Diet Building',
100+
address: 'Nagatacho 1-7-1 Chiyoda-ku, Tokyo 100-0014'
101+
latitude: 35.675862,
102+
longitude: 139.744967,
103103
}
104104
response = client.multicast(user_ids, message)
105105

@@ -123,10 +123,10 @@
123123
user_ids = ['user1', 'user2']
124124
message = {
125125
type: 'location',
126-
title: 'LINE Corporation.',
127-
address: 'Hikarie Shibuya-ku Tokyo 151-0002',
128-
latitude: 35.61823286112982,
129-
longitude: 139.72824096679688,
126+
title: 'National Diet Building',
127+
address: 'Nagatacho 1-7-1 Chiyoda-ku, Tokyo 100-0014'
128+
latitude: 35.675862,
129+
longitude: 139.744967,
130130
}
131131
response = client.multicast(user_ids, message, payload: {customAggregationUnits: ['test']})
132132

0 commit comments

Comments
 (0)