Skip to content

Commit 9bc6b43

Browse files
author
Rafael Marinho
committed
test(cha-651): fix unit test
1 parent b3a685e commit 9bc6b43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/client_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ def loop_times(times)
12411241
end_at: (Time.now + 3600).iso8601
12421242
}
12431243

1244-
response = @channel.send_message(
1244+
response = @location_channel.send_message(
12451245
{
12461246
text: 'Location sharing message',
12471247
shared_location: location
@@ -1298,7 +1298,7 @@ def loop_times(times)
12981298
end
12991299

13001300
it 'should have active live locations on the channel' do
1301-
response = @channel.query
1301+
response = @location_channel.query
13021302
expect(response).to include 'active_live_locations'
13031303
expect(response['active_live_locations'].length).to be >= 1
13041304
end

0 commit comments

Comments
 (0)