Sha256: 4128f9f20d7a6a63b94612ebae0bacbacd22d34b826453af024044f405ab0a5b

Contents?: true

Size: 364 Bytes

Versions: 5

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true

describe SlackRubyBot::Commands::Base do
  let! :command do
    Class.new(SlackRubyBot::Commands::Base) do
      command 'not_implemented'
    end
  end
  it 'raises not implemented' do
    expect(message: "#{SlackRubyBot.config.user} not_implemented").to respond_with_error(NotImplementedError, 'rubybot not_implemented')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slack-ruby-bot-0.16.1 spec/slack-ruby-bot/commands/not_implemented_spec.rb
slack-ruby-bot-0.16.0 spec/slack-ruby-bot/commands/not_implemented_spec.rb
slack-ruby-bot-0.15.0 spec/slack-ruby-bot/commands/not_implemented_spec.rb
slack-ruby-bot-0.14.0 spec/slack-ruby-bot/commands/not_implemented_spec.rb
slack-ruby-bot-0.13.0 spec/slack-ruby-bot/commands/not_implemented_spec.rb