Sha256: 4a624108e14bf830f6e5f1a00d62b7bbd1ca71f6022dc70aefe7b74de40dd09d

Contents?: true

Size: 564 Bytes

Versions: 4

Compression:

Stored size: 564 Bytes

Contents

# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake

require 'spec_helper'

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/
    end
    it 'requires id' do
      expect { client.files_comments_delete(file: %q[]) }.to raise_error ArgumentError, /Required arguments :id missing/
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slack-ruby-client-2.1.0 spec/slack/web/api/endpoints/files_comments_spec.rb
slack-ruby-client-2.0.0 spec/slack/web/api/endpoints/files_comments_spec.rb
slack-ruby-client-1.1.0 spec/slack/web/api/endpoints/files_comments_spec.rb
slack-ruby-client-1.0.0 spec/slack/web/api/endpoints/files_comments_spec.rb