Sha256: 039b898702213ce3d0d3e0a4883e22e8f793bb09ffb2a7fafb91532fe0481d16
Contents?: true
Size: 521 Bytes
Versions: 20
Compression:
Stored size: 521 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
20 entries across 20 versions & 4 rubygems