Sha256: 6de83212580f57bbc62d02d40c534346237b313f83d0e315339c3a61b8be6c79

Contents?: true

Size: 1.05 KB

Versions: 6

Compression:

Stored size: 1.05 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::Workflows do
  let(:client) { Slack::Web::Client.new }
  context 'workflows_stepCompleted' do
    it 'requires workflow_step_execute_id' do
      expect { client.workflows_stepCompleted }.to raise_error ArgumentError, /Required arguments :workflow_step_execute_id missing/
    end
  end
  context 'workflows_stepFailed' do
    it 'requires error' do
      expect { client.workflows_stepFailed(workflow_step_execute_id: %q[]) }.to raise_error ArgumentError, /Required arguments :error missing/
    end
    it 'requires workflow_step_execute_id' do
      expect { client.workflows_stepFailed(error: %q[]) }.to raise_error ArgumentError, /Required arguments :workflow_step_execute_id missing/
    end
  end
  context 'workflows_updateStep' do
    it 'requires workflow_step_edit_id' do
      expect { client.workflows_updateStep }.to raise_error ArgumentError, /Required arguments :workflow_step_edit_id missing/
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
slack-ruby-client-2.1.0 spec/slack/web/api/endpoints/workflows_spec.rb
slack-ruby-client-2.0.0 spec/slack/web/api/endpoints/workflows_spec.rb
slack-ruby-client-1.1.0 spec/slack/web/api/endpoints/workflows_spec.rb
slack-ruby-client-1.0.0 spec/slack/web/api/endpoints/workflows_spec.rb
slack-ruby-client-0.17.0 spec/slack/web/api/endpoints/workflows_spec.rb
slack-ruby-client-0.16.0 spec/slack/web/api/endpoints/workflows_spec.rb