There was an error while loading. Please reload this page.
1 parent 4c389f6 commit 28a4145Copy full SHA for 28a4145
spec/live/user_spec.rb
@@ -127,7 +127,9 @@ def valid_attributes
127
128
before do
129
VCR.use_cassette("update_many_users") do
130
- ZendeskAPI::User.update_many!(client, created_user_ids, notes: "this is a note")
+ ZendeskAPI::User.update_many!(client, created_user_ids, notes: "this is a note").tap do |job|
131
+ job.reload! while job.status != "completed"
132
+ end
133
end
134
135
0 commit comments