You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 22, 2025. It is now read-only.
require_relative '../commands/support'
require 'pry'
describe MyBot::Commands::Support do
it 'gives support link' do
expect(message: "#{SlackRubyBot.config.user} support").to respond_with_slack_message(/support url/)
end
end
1) MyBot::Commands::Support gives support link
Failure/Error: client.channels.dig(data.channel, :name)
NoMethodError:
undefined method `dig' for nil:NilClass
Whereas I'm expecting to get a green passing test.
In order to get over the error I think I need to connect to slack but I can’t find the proper documentation for doing so.