Skip to content

Commit 477c7e2

Browse files
committed
Fix team based test
1 parent 7f214b6 commit 477c7e2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

spec/client_spec.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,14 @@ def loop_times(times)
168168
user_id = SecureRandom.uuid
169169
@client.update_user({ id: user_id, name: 'Test User' })
170170

171+
@client.update_user_partial({
172+
id: user_id,
173+
set: { team: 'blue' }
174+
})
175+
171176
response = @client.update_user_partial({
172177
id: user_id,
173178
set: {
174-
team: 'blue',
175179
teams_role: { 'blue' => 'admin' }
176180
}
177181
})

0 commit comments

Comments
 (0)