spec/text_at_spec.rb in prawn-2.0.2 vs spec/text_at_spec.rb in prawn-2.1.0
- old
+ new
@@ -56,18 +56,18 @@
it "should allow rotation" do
@pdf.draw_text("Test", :at => [100, 100], :rotate => 90)
text = rotated_text_inspector.analyze(@pdf.render)
- expect(text.tm_operator_used).to(be_true)
+ expect(text.tm_operator_used).to eq true
end
it "should not use rotation matrix by default" do
@pdf.draw_text("Test", :at => [100, 100])
text = rotated_text_inspector.analyze(@pdf.render)
- expect(text.tm_operator_used).to(be_false)
+ expect(text.tm_operator_used).to eq false
end
it "should allow overriding default font for a single instance" do
@pdf.font_size = 16