We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a5ee52 commit df16e5fCopy full SHA for df16e5f
spec/channel_spec.rb
@@ -145,7 +145,7 @@ def loop_times(times)
145
response = @channel.remove_members([@random_users[0][:id], @random_users[1][:id]])
146
expect(response['members'].length).to eq 0
147
148
- history_cutoff = DateTime.now - 1.day
+ history_cutoff = DateTime.now - 1
149
@channel.add_members([@random_users[0][:id]], hide_history_before: history_cutoff)
150
response = @channel.add_members([@random_users[1][:id]], hide_history: true)
151
expect(response['members'].length).to eq 2
0 commit comments