spec/slack/web/api/endpoints/files_comments_spec.rb in slack-ruby-client-2.1.0 vs spec/slack/web/api/endpoints/files_comments_spec.rb in slack-ruby-client-2.2.0

- old
+ new

@@ -5,12 +5,12 @@ RSpec.describe Slack::Web::Api::Endpoints::FilesComments do let(:client) { Slack::Web::Client.new } context 'files.comments_delete' do it 'requires file' do - expect { client.files_comments_delete(id: %q[]) }.to raise_error ArgumentError, /Required arguments :file missing/ + expect { client.files_comments_delete(id: %q[Fc1234567890]) }.to raise_error ArgumentError, /Required arguments :file missing/ end it 'requires id' do - expect { client.files_comments_delete(file: %q[]) }.to raise_error ArgumentError, /Required arguments :id missing/ + expect { client.files_comments_delete(file: %q[F1234567890]) }.to raise_error ArgumentError, /Required arguments :id missing/ end end end