Sha256: c623e49820854dc05a89f94147935f60966b3711f693f2ced4671f2f6992ffe2

Contents?: true

Size: 333 Bytes

Versions: 8

Compression:

Stored size: 333 Bytes

Contents

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

8 entries across 8 versions & 1 rubygems

Version Path
slack-ruby-bot-0.12.0 spec/slack-ruby-bot/commands/not_implemented_spec.rb
slack-ruby-bot-0.11.2 spec/slack-ruby-bot/commands/not_implemented_spec.rb
slack-ruby-bot-0.11.1 spec/slack-ruby-bot/commands/not_implemented_spec.rb
slack-ruby-bot-0.11.0 spec/slack-ruby-bot/commands/not_implemented_spec.rb
slack-ruby-bot-0.10.5 spec/slack-ruby-bot/commands/not_implemented_spec.rb
slack-ruby-bot-0.10.4 spec/slack-ruby-bot/commands/not_implemented_spec.rb
slack-ruby-bot-0.10.3 spec/slack-ruby-bot/commands/not_implemented_spec.rb
slack-ruby-bot-0.10.2 spec/slack-ruby-bot/commands/not_implemented_spec.rb