Sha256: ede8fa7bab628156ba17a674161a9fc714821326676fdd77e59c94da2af09f46
Contents?: true
Size: 431 Bytes
Versions: 3
Compression:
Stored size: 431 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper')) describe RTurk::GetHIT do before(:all) do faker('get_hit', :operation => 'GetHIT') end it "should fetch the details of a HIT" do response = RTurk.GetHIT(:hit_id => '1234abcd') response.type_id.should eql('YGKZ2W5X6YFZ08ZRXXZZ') response.auto_approval.should eql(3600) response.status.should eql('Reviewable') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rturk-2.0.2 | spec/operations/get_hit_spec.rb |
rturk-2.0.1 | spec/operations/get_hit_spec.rb |
rturk-2.0.0 | spec/operations/get_hit_spec.rb |