diff --git a/sorbet/rbi/hidden-definitions/hidden.rbi b/sorbet/rbi/hidden-definitions/hidden.rbi index 664d182..6d6a312 100644 --- a/sorbet/rbi/hidden-definitions/hidden.rbi +++ b/sorbet/rbi/hidden-definitions/hidden.rbi @@ -9104,7 +9104,6 @@ module URI::Util end module URI - extend ::URI::Escape def self.get_encoding(label); end end diff --git a/spec/client_spec.rb b/spec/client_spec.rb index 6190e6a..971573c 100644 --- a/spec/client_spec.rb +++ b/spec/client_spec.rb @@ -842,7 +842,11 @@ def cleanup_fellowship_leftovers!(client) end it 'use the blocklist for a channel type' do - @client.update_channel_type('team', blocklist: @blocklist, blocklist_behavior: 'block') + # A new blocklist is not always visible to UpdateChannelType right away + # ("invalid block list name"), so retry for a few seconds. + loop_times 10 do + @client.update_channel_type('team', blocklist: @blocklist, blocklist_behavior: 'block') + end end xit 'should block messages that match the blocklist' do