Sha256: 82bc66f557021de7c22121c9423e465e54b03441fcd7f9545858296644e23304

Contents?: true

Size: 455 Bytes

Versions: 8

Compression:

Stored size: 455 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe Highrise::Tag do

  before(:each) do
    Highrise::Base.site = 'http://example.com.i/'
    @tag = Highrise::Tag.new
  end
  
  it "should be instance of Highrise::Base" do
    @tag.kind_of?(Highrise::Base).should be_true
  end

  it "should support equality" do
    @tag.id = 1
    @tag.name = "Name"
    
    tag = Highrise::Tag.new(:id => 1, :name => "Name")
    @tag.should == tag
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kmayer-highrise-0.11.0 spec/highrise/tag_spec.rb
kmayer-highrise-0.11.1 spec/highrise/tag_spec.rb
kmayer-highrise-0.12.0 spec/highrise/tag_spec.rb
kmayer-highrise-0.8.0 spec/highrise/tag_spec.rb
kmayer-highrise-0.8.1 spec/highrise/tag_spec.rb
kmayer-highrise-0.9.0 spec/highrise/tag_spec.rb
kmayer-highrise-0.9.1 spec/highrise/tag_spec.rb
kmayer-highrise-0.9.2 spec/highrise/tag_spec.rb