Sha256: 15756e587fa5b9f66020c232ed7bf003f1cf9714da4beb71d83b4f9c758152bf

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 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::AdminWorkflows do
  let(:client) { Slack::Web::Client.new }
  context 'admin.workflows_unpublish' do
    it 'requires workflow_ids' do
      expect { client.admin_workflows_unpublish }.to raise_error ArgumentError, /Required arguments :workflow_ids missing/
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 spec/slack/web/api/endpoints/admin_workflows_spec.rb
slack-ruby-client-2.3.0 spec/slack/web/api/endpoints/admin_workflows_spec.rb
slack-ruby-client-2.2.0 spec/slack/web/api/endpoints/admin_workflows_spec.rb