Closed spkane closed 4 years ago
Please do fix, PRs welcome!
This has been fixed on master, but there has not been a proper gem release since the fix, so it would be nice to get that before we officially close this issue.
Would prefer to pin to an official release version instead of a branch or specific commit hash.
Which PR fixed this? Let's close it with that. I'll cut a release when I get to it.
@dblock It looks like you fixed it here:
There seems to be a bug in
slack-ruby-bot-0.12.0/lib/slack-ruby-bot/rspec/support/slack-ruby-bot/respond_with_slack_message.rb
at this linemessage += @messages.count.zero? ? 'No response messages received' : @messages.inspect
In the example below you can see that the code throws a
undefined method count for nil:NilClass
error when there is no message instead of reporting that theNo response messages received
message to the user.