Sha256: b3d3d4f8c396bcd5163267d53ecfd3fca58f2ea3cad830248e5149b150758463
Contents?: true
Size: 524 Bytes
Versions: 7
Compression:
Stored size: 524 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' describe Highrise::Task do before(:each) do @task = Highrise::Task.new end it "should be instance of Highrise::Base" do @task.kind_of?(Highrise::Base).should be_true end describe ".complete!" do it "should delegate to load_attributes_from_response" do @task.should_receive(:load_attributes_from_response).with("post") @task.should_receive(:post).with(:complete).and_return("post") @task.complete! end end end
Version data entries
7 entries across 7 versions & 3 rubygems