spec/operations/get_assignments_spec.rb in rturk-2.3.6 vs spec/operations/get_assignments_spec.rb in rturk-2.4.0

- old
+ new

@@ -16,11 +16,11 @@ RTurk::GetAssignmentsForHIT(:hit_id => "abcd") rescue RTurk::InvalidRequest end context "an HIT with one assignment" do before(:all) do - FakeWeb.clean_registry + WebMock.reset! faker('get_assignments', :operation => 'GetAssignmentsForHIT') end it "should parse and return and answer" do assignments = RTurk::GetAssignmentsForHIT(:hit_id => "abcd").assignments @@ -29,10 +29,10 @@ end context "an HIT with multiple assignment" do before(:all) do - FakeWeb.clean_registry + WebMock.reset! faker('get_assignments_multiple', :operation => 'GetAssignmentsForHIT') end it "should parse and return and answer" do assignments = RTurk::GetAssignmentsForHIT(:hit_id => "abcd").assignments