Sha256: 0574a9ef0c2e12393ea26c4f3fc338c62dd37d3fcfe5cc070836bde7c9a030fb

Contents?: true

Size: 440 Bytes

Versions: 9

Compression:

Stored size: 440 Bytes

Contents

require 'spec_helper'

describe Zemanta::Markup::Link::Target do
  describe "getter" do
    subject { Zemanta::Markup::Link::Target.new(fixture("target")) }

    it "for url works well" do
      subject.url.should == "www.this.is.an/url"
    end

    it "for type works well" do
      subject.type.should == "geolocation"
    end

    it "for target title works well" do
      subject.title.should == "Tiger Leaping Gorge"
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
zemanta_client-0.0.9 spec/zemanta/markup/link/target_spec.rb
zemanta_client-0.0.8 spec/zemanta/markup/link/target_spec.rb
zemanta_client-0.0.7 spec/zemanta/markup/link/target_spec.rb
zemanta_client-0.0.6 spec/zemanta/markup/link/target_spec.rb
zemanta_client-0.0.5 spec/zemanta/markup/link/target_spec.rb
zemanta_client-0.0.4 spec/zemanta/markup/link/target_spec.rb
zemanta_client-0.0.3 spec/zemanta/markup/link/target_spec.rb
zemanta_client-0.0.2 spec/zemanta/markup/link/target_spec.rb
zemanta_client-0.0.1 spec/zemanta/markup/link/target_spec.rb