Sha256: 0a87e2f13a446957428c7ef527aa4a9b12ca763affb9fdebe3d8bd95a537fb0d

Contents?: true

Size: 694 Bytes

Versions: 26

Compression:

Stored size: 694 Bytes

Contents

# 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

26 entries across 26 versions & 1 rubygems

Version Path
slack-ruby-client-0.14.4 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.14.3 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.14.2 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.14.1 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.14.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.13.1 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.13.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.12.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.11.1 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.11.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.10.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.9.1 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.9.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.8.1 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.8.0 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.7.9 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.7.8 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.7.7 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.7.6 spec/slack/web/api/endpoints/search_spec.rb
slack-ruby-client-0.7.5 spec/slack/web/api/endpoints/search_spec.rb