Skip to content

Commit

Permalink
Merge pull request #271 from imtayadeway/fix/provision-request-specs
Browse files Browse the repository at this point in the history
Fix provision request specs
  • Loading branch information
durandom authored Jul 6, 2017
2 parents e351736 + cc7d0f4 commit 6269416
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/requests/api/provision_requests_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
)
)

task_id = response.parsed_body["results"].first["id"]
task_id = ApplicationRecord.uncompress_id(response.parsed_body["results"].first["id"])
expect(MiqProvisionRequest.exists?(task_id)).to be_truthy
end

Expand Down Expand Up @@ -125,7 +125,7 @@
)
)

task_id = response.parsed_body["results"].first["id"]
task_id = ApplicationRecord.uncompress_id(response.parsed_body["results"].first["id"])
expect(MiqProvisionRequest.exists?(task_id)).to be_truthy
end

Expand Down Expand Up @@ -154,7 +154,7 @@
)
)

task_id = response.parsed_body["results"].first["id"]
task_id = ApplicationRecord.uncompress_id(response.parsed_body["results"].first["id"])
expect(MiqProvisionRequest.exists?(task_id)).to be_truthy
end
end
Expand Down

0 comments on commit 6269416

Please sign in to comment.