Sha256: 792fe655d3212733cf60d6f0ac0e2968cb6f1a915514a28add2d844c65e63d5b

Contents?: true

Size: 291 Bytes

Versions: 19

Compression:

Stored size: 291 Bytes

Contents

require 'spec_helper'

describe Highrise::Task do
  it { should be_a_kind_of Highrise::Base }
  
  it "#complete!" do
    subject.should_receive(:load_attributes_from_response).with("post")
    subject.should_receive(:post).with(:complete).and_return("post")
    subject.complete!
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
highrise-3.2.3 spec/highrise/task_spec.rb
highrise-3.2.1 spec/highrise/task_spec.rb
highrise-3.1.6 spec/highrise/task_spec.rb
highrise-3.1.5 spec/highrise/task_spec.rb
highrise-3.1.2 spec/highrise/task_spec.rb
highrise-3.1.1 spec/highrise/task_spec.rb
highrise-3.1.0 spec/highrise/task_spec.rb
highrise-3.1.0.pre spec/highrise/task_spec.rb
highrise-3.0.5 spec/highrise/task_spec.rb
highrise-3.0.4 spec/highrise/task_spec.rb
highrise-3.0.3 spec/highrise/task_spec.rb
peterosullivan-highrise-3.0.7 spec/highrise/task_spec.rb
peterosullivan-highrise-3.0.6 spec/highrise/task_spec.rb
peterosullivan-highrise-3.0.5 spec/highrise/task_spec.rb
peterosullivan-highrise-3.0.4 spec/highrise/task_spec.rb
peterosullivan-highrise-3.0.3 spec/highrise/task_spec.rb
peterosullivan-highrise-3.0.2 spec/highrise/task_spec.rb
highrise-3.0.1 spec/highrise/task_spec.rb
highrise-3.0.0 spec/highrise/task_spec.rb