spec/slack/web/api/endpoints/files_comments_spec.rb in slack-ruby-client-0.7.3 vs spec/slack/web/api/endpoints/files_comments_spec.rb in slack-ruby-client-0.7.4
- old
+ new
@@ -7,10 +7,10 @@
context 'files.comments_add' do
it 'requires file' do
expect { client.files_comments_add(comment: 'Everyone should take a moment to read this file.') }.to raise_error ArgumentError, /Required arguments :file missing/
end
it 'requires comment' do
- expect { client.files_comments_add(file: 'F1234567890') }.to raise_error ArgumentError, /Required arguments :comment missing/
+ expect { client.files_comments_add(file: 'F1234467890') }.to raise_error ArgumentError, /Required arguments :comment missing/
end
end
context 'files.comments_delete' do
it 'requires file' do
expect { client.files_comments_delete(id: 'Fc1234567890') }.to raise_error ArgumentError, /Required arguments :file missing/