Sha256: 3d0c783f5f25c3e0e96fb75812a15e746a1009a3bfd5b792b48a508e6a6f4da4
Contents?: true
Size: 1.82 KB
Versions: 2
Compression:
Stored size: 1.82 KB
Contents
# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake require 'spec_helper' RSpec.describe Slack::Web::Api::Endpoints::AppsDatastore do let(:client) { Slack::Web::Client.new } context 'apps.datastore_delete' do it 'requires datastore' do expect { client.apps_datastore_delete(id: %q[]) }.to raise_error ArgumentError, /Required arguments :datastore missing/ end it 'requires id' do expect { client.apps_datastore_delete(datastore: %q[]) }.to raise_error ArgumentError, /Required arguments :id missing/ end end context 'apps.datastore_get' do it 'requires datastore' do expect { client.apps_datastore_get(id: %q[]) }.to raise_error ArgumentError, /Required arguments :datastore missing/ end it 'requires id' do expect { client.apps_datastore_get(datastore: %q[]) }.to raise_error ArgumentError, /Required arguments :id missing/ end end context 'apps.datastore_put' do it 'requires datastore' do expect { client.apps_datastore_put(item: %q[]) }.to raise_error ArgumentError, /Required arguments :datastore missing/ end it 'requires item' do expect { client.apps_datastore_put(datastore: %q[]) }.to raise_error ArgumentError, /Required arguments :item missing/ end end context 'apps.datastore_query' do it 'requires datastore' do expect { client.apps_datastore_query }.to raise_error ArgumentError, /Required arguments :datastore missing/ end end context 'apps.datastore_update' do it 'requires datastore' do expect { client.apps_datastore_update(item: %q[]) }.to raise_error ArgumentError, /Required arguments :datastore missing/ end it 'requires item' do expect { client.apps_datastore_update(datastore: %q[]) }.to raise_error ArgumentError, /Required arguments :item missing/ end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-2.3.0 | spec/slack/web/api/endpoints/apps_datastore_spec.rb |
slack-ruby-client-2.2.0 | spec/slack/web/api/endpoints/apps_datastore_spec.rb |