spec/unit/sucker/request_spec.rb in sucker-0.7.0 vs spec/unit/sucker/request_spec.rb in sucker-0.7.1
- old
+ new
@@ -23,9 +23,16 @@
@worker << { "foo" => "bar" }
@worker.parameters["foo"].should eql "bar"
end
end
+ context "#associate_tag=" do
+ it "sets the associate tag in the parameters" do
+ @worker.associate_tag = "foo"
+ @worker.parameters["AssociateTag"].should eql "foo"
+ end
+ end
+
context "#curl" do
it "returns a cURL object" do
@worker.curl.should be_an_instance_of Curl::Easy
end