Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion sorbet/rbi/hidden-definitions/hidden.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -9104,7 +9104,6 @@ module URI::Util
end

module URI
extend ::URI::Escape
def self.get_encoding(label); end
end

Expand Down
6 changes: 5 additions & 1 deletion spec/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading