spec/fixtures/document.rb in prawn_cocktail-0.5.4 vs spec/fixtures/document.rb in prawn_cocktail-0.6.0
- old
+ new
@@ -4,11 +4,11 @@
end
end
class TestDocument < PrawnCocktail::Document
helper TestDocumentHelper
- initialize_document { text "Init works." }
+ initialize_template { text "Init works." }
def initialize(status)
@status = status
end
@@ -18,7 +18,7 @@
{ status: @status }
end
end
class SubTestDocument < TestDocument
- initialize_document { text "Sub-init works." }
+ initialize_template { text "Sub-init works." }
end