Sha256: cd26fe097cc5cf90a279768bd67dda27c29b112246fece9deec8f97b5370e7df
Contents?: true
Size: 590 Bytes
Versions: 12
Compression:
Stored size: 590 Bytes
Contents
require 'spec_helper' describe TP::SlideDeck do subject(:slide_deck) { klass.new slides } let(:slides) { [ TP::SlideFactory.from_markdown("# First Slide\n\n* Bullet 1\n* Bullet 2"), TP::SlideFactory.from_markdown("# Second Slide\n\nThis is a paragraph") ] } its(:height) { should == 4 } its(:width) { should == 12 } context "with only really long paragraphs" do let (:slides) { [TP::SlideFactory.from_markdown("# First Slide\n\n#{'word ' * 100}")] } its(:width) { should == 80 } end it { slide_deck.frames.count.should == 4 } end
Version data entries
12 entries across 12 versions & 1 rubygems