Sha256: 40c9ffea65b69db49695ae62723ada0a1c97252892e30b2bccf4d09e7ab9eb0f

Contents?: true

Size: 1.06 KB

Versions: 24

Compression:

Stored size: 1.06 KB

Contents

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

require 'spec_helper'

RSpec.describe Slack::Web::Api::Endpoints::Reminders do
  let(:client) { Slack::Web::Client.new }
  context 'reminders_add' do
    it 'requires text' do
      expect { client.reminders_add(time: '1602288000') }.to raise_error ArgumentError, /Required arguments :text missing/
    end
    it 'requires time' do
      expect { client.reminders_add(text: 'eat a banana') }.to raise_error ArgumentError, /Required arguments :time missing/
    end
  end
  context 'reminders_complete' do
    it 'requires reminder' do
      expect { client.reminders_complete }.to raise_error ArgumentError, /Required arguments :reminder missing/
    end
  end
  context 'reminders_delete' do
    it 'requires reminder' do
      expect { client.reminders_delete }.to raise_error ArgumentError, /Required arguments :reminder missing/
    end
  end
  context 'reminders_info' do
    it 'requires reminder' do
      expect { client.reminders_info }.to raise_error ArgumentError, /Required arguments :reminder missing/
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

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