Manish Das
Manish Das

Reputation: 3893

Rspec Testing of real time results through mTurk

I am creating hits at mTurk through Rspec test code but at the same time i need to test the results which must be send back from mTurk. In order to save complexity testing for every test i'm using VCR to record the HTTP Requests in a cassette. How can i implement this test??

Upvotes: 12

Views: 310

Answers (1)

Manish Das
Manish Das

Reputation: 3893

well i did some hack for that, i used debugger to hold my rspec test until results comes back from mTurk and then it get stored in VCR. so i have to do this kinda hack once and then after that VCR works for me

Upvotes: 4

Related Questions