Sha256: 9e1c47c91fde1703306aa522093e450c5b9a2f1bde8dd39b907a27a2baf185b1
Contents?: true
Size: 381 Bytes
Versions: 37
Compression:
Stored size: 381 Bytes
Contents
require 'spec_helper' require 'commands/whoami' describe Whoami do let(:team) { Fabricate(:team) } let(:app) { SlackRubyBotServer::Server.new(team: team) } context 'whoami' do it 'returns username' do expect(message: "#{SlackRubyBot.config.user} whoami", channel: 'channel', user: 'user').to respond_with_slack_message( '<@user>' ) end end end
Version data entries
37 entries across 22 versions & 1 rubygems