Sha256: 2b7c689ef684915e225bcd6abab55748521a6502af6864c3c51c7812a37d61aa
Contents?: true
Size: 367 Bytes
Versions: 2
Compression:
Stored size: 367 Bytes
Contents
require 'spec_helper' describe Zemanta::Markup do describe "getter" do subject { Zemanta::Markup.new(fixture("markup")) } it "for text works well" do subject.text.should == "text" end it "for links returns array of links" do subject.links.should be_a Array subject.links.first.should be_a Zemanta::Markup::Link end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zemanta_client-0.0.2 | spec/zemanta/markup_spec.rb |
zemanta_client-0.0.1 | spec/zemanta/markup_spec.rb |