spec/to_html/footnote_spec.rb in polytexnic-1.1.4 vs spec/to_html/footnote_spec.rb in polytexnic-1.1.5

- old
+ new

@@ -176,15 +176,25 @@ it { should_not include '</span> amet' } end describe "footnote inside a section*" do let(:polytex) do <<-'EOS' + \chapter{The first} + + Test + + \chapter{The second} + + Also test + \chapter{Lorem} + Foo bar + \section*{Baz} Lorem ipsum.\footnote{Dolor sit amet.} EOS end - it { should include 'cha-1_footnote' } + it { should include 'cha-3_footnote' } end end \ No newline at end of file