Sha256: 5b9c9d7cc3e030f963e0852a1c5a3534c024f4ab0b4bc87ac6274a2c2de6223a
Contents?: true
Size: 412 Bytes
Versions: 6
Compression:
Stored size: 412 Bytes
Contents
# frozen_string_literal: true 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
6 entries across 3 versions & 1 rubygems