spec/to_html/footnote_spec.rb in polytexnic-1.1.1 vs spec/to_html/footnote_spec.rb in polytexnic-1.1.2
- old
+ new
@@ -165,14 +165,14 @@
EOS
end
it { should resemble output }
end
- describe "emphasis inside footnote" do
+ describe "emphasis inside footnote with a period" do
let(:polytex) do <<-'EOS'
\chapter{Lorem}
- Lorem ipsum\footnote{Dolor \emph{sit}} amet. Consectetur.
+ Lorem ipsum\footnote{Dolor \emph{sit.}} amet. Consectetur.
EOS
end
- it { should include 'amet' }
+ it { should_not include '</span> amet' }
end
end
\ No newline at end of file