File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 137
137
end
138
138
139
139
it 'link a rich menus to multiple users at a atime' do
140
- uri_template = Addressable ::Template . new Line ::Bot ::API ::DEFAULT_ENDPOINT + '/bot/user/ richmenu/bulk/link'
140
+ uri_template = Addressable ::Template . new Line ::Bot ::API ::DEFAULT_ENDPOINT + '/bot/richmenu/bulk/link'
141
141
stub_request ( :post , uri_template ) . to_return ( body : '{}' , status : 200 )
142
142
143
143
client . bulk_link_user_rich_menus ( [ '1' , '2' ] , '7654321' )
144
- expect ( WebMock ) . to have_requested ( :post , Line ::Bot ::API ::DEFAULT_ENDPOINT + '/bot/user/ richmenu/bulk/link' )
144
+ expect ( WebMock ) . to have_requested ( :post , Line ::Bot ::API ::DEFAULT_ENDPOINT + '/bot/richmenu/bulk/link' )
145
145
end
146
146
147
147
it 'unlink a rich menus from multiple users at a time' do
148
- uri_template = Addressable ::Template . new Line ::Bot ::API ::DEFAULT_ENDPOINT + '/bot/user/ richmenu/bulk/unlink'
148
+ uri_template = Addressable ::Template . new Line ::Bot ::API ::DEFAULT_ENDPOINT + '/bot/richmenu/bulk/unlink'
149
149
stub_request ( :post , uri_template ) . to_return ( body : '{}' , status : 200 )
150
150
151
151
client . bulk_unlink_user_rich_menus ( [ '1' , '2' ] )
152
- expect ( WebMock ) . to have_requested ( :post , Line ::Bot ::API ::DEFAULT_ENDPOINT + '/bot/user/ richmenu/bulk/unlink' )
152
+ expect ( WebMock ) . to have_requested ( :post , Line ::Bot ::API ::DEFAULT_ENDPOINT + '/bot/richmenu/bulk/unlink' )
153
153
end
154
154
155
155
it 'gets an image associated with a rich menu' do
You can’t perform that action at this time.
0 commit comments