Sha256: a77f3a851ae5ef333619844ba31a30804e5f39dffc88eb78a0c163ebc62a3316

Contents?: true

Size: 724 Bytes

Versions: 13

Compression:

Stored size: 724 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::Search do
  let(:client) { Slack::Web::Client.new }
  context 'search_all' do
    it 'requires query' do
      expect { client.search_all }.to raise_error ArgumentError, /Required arguments :query missing/
    end
  end
  context 'search_files' do
    it 'requires query' do
      expect { client.search_files }.to raise_error ArgumentError, /Required arguments :query missing/
    end
  end
  context 'search_messages' do
    it 'requires query' do
      expect { client.search_messages }.to raise_error ArgumentError, /Required arguments :query missing/
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-2.3.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-2.2.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-2.1.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-2.0.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-1.1.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-1.0.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.17.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.16.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.15.1 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.15.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.14.6 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.14.5 spec/slack/web/api/endpoints/search_spec.rb