Sha256: 535451a05ff2826705237a8d10eb0105d270e661a886583c968fa745ea263744

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

require 'minitest_helper'
module SlideHero
  describe Blockquote do
    it "compiles to a beautiful blockquote" do
      quote = Blockquote.new(cite:"http://hostiledeveloper.com", quote: "You can't take a picture of a chess board from the top.")
      quote.compile.must_equal(<<-QUOTE.strip)
<blockquote cite="http://hostiledeveloper.com">
  You can't take a picture of a chess board from the top.
</blockquote>
      QUOTE
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slide_hero-0.0.11 test/slide_hero/blockquote_spec.rb