------------------------ PdfcraftTest: test_truth ------------------------ ---------------------------------------------------------------- ConfigurationTest: test_rendering_with_a_configured_pdf_variable ---------------------------------------------------------------- Started GET "/renamed_var.pdf" for 127.0.0.1 at 2018-05-22 21:40:16 -0400 Processing by HomeController#renamed_var as PDF Rendering home/renamed_var.pdf.pdfcraft Rendered home/renamed_var.pdf.pdfcraft (29.4ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (1.3ms) Completed 200 OK in 36ms (Views: 36.0ms) ---------------------------------------------------- PdfRenderingTest: test_pdf_layout_can_be_set_in_view ---------------------------------------------------- Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2018-05-22 21:40:16 -0400 Processing by HomeController#pdf_layout as PDF Rendering home/pdf_layout.pdf.pdfcraft within layouts/application Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (11.8ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.6ms) Completed 200 OK in 39ms (Views: 39.0ms) ----------------------------------------------------- PdfRenderingTest: test_pdf_rendering_can_use_partials ----------------------------------------------------- Started GET "/partials.pdf" for 127.0.0.1 at 2018-05-22 21:40:16 -0400 Processing by HomeController#partials as PDF Rendering home/partials.pdf.pdfcraft within layouts/application Rendered home/_the_partial.pdf.pdfcraft (2.1ms) Rendered home/partials.pdf.pdfcraft within layouts/application (7.7ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.7ms) Completed 200 OK in 22ms (Views: 22.2ms) -------------------------------------------------------- PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file -------------------------------------------------------- Started GET "/home.pdf" for 127.0.0.1 at 2018-05-22 21:40:16 -0400 Processing by HomeController#index as PDF Rendering home/index.pdf.pdfcraft within layouts/application Rendered home/index.pdf.pdfcraft within layouts/application (1.7ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.4ms) Completed 200 OK in 8ms (Views: 7.8ms) --------------------------------------------------------------- PdfRenderingTest: test_pdf_renderer_uses_the_specified_template --------------------------------------------------------------- Started GET "/another.pdf" for 127.0.0.1 at 2018-05-22 21:40:16 -0400 Processing by HomeController#another as PDF Rendering home/index.pdf.pdfcraft within layouts/application Rendered home/index.pdf.pdfcraft within layouts/application (1.4ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.2ms) Completed 200 OK in 3ms (Views: 3.3ms) ------------------------------------------------------- PdfRenderingTest: test_pdf_rendering_can_access_helpers ------------------------------------------------------- Started GET "/helpers.pdf" for 127.0.0.1 at 2018-05-22 21:40:16 -0400 Processing by HomeController#helpers as PDF Rendering home/helpers.pdf.pdfcraft within layouts/application Rendered home/helpers.pdf.pdfcraft within layouts/application (2.0ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.4ms) Completed 200 OK in 9ms (Views: 8.8ms) ---------------------------------------------------------------------- PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer ---------------------------------------------------------------------- Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2018-05-22 21:40:16 -0400 Processing by HomeController#pdf_layout as PDF Rendering home/pdf_layout.pdf.pdfcraft within layouts/application Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (1.7ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.4ms) Completed 200 OK in 8ms (Views: 8.0ms) ------------------------ PdfcraftTest: test_truth ------------------------ ---------------------------------------------------------------- ConfigurationTest: test_rendering_with_a_configured_pdf_variable ---------------------------------------------------------------- Started GET "/renamed_var.pdf" for 127.0.0.1 at 2018-05-22 21:40:43 -0400 Processing by HomeController#renamed_var as PDF Rendering home/renamed_var.pdf.pdfcraft Rendered home/renamed_var.pdf.pdfcraft (30.1ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.7ms) Completed 200 OK in 35ms (Views: 34.5ms) ---------------------------------------------------------------------- PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer ---------------------------------------------------------------------- Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2018-05-22 21:40:43 -0400 Processing by HomeController#pdf_layout as PDF Rendering home/pdf_layout.pdf.pdfcraft within layouts/application Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (3.9ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.4ms) Completed 200 OK in 15ms (Views: 15.3ms) ---------------------------------------------------- PdfRenderingTest: test_pdf_layout_can_be_set_in_view ---------------------------------------------------- Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2018-05-22 21:40:43 -0400 Processing by HomeController#pdf_layout as PDF Rendering home/pdf_layout.pdf.pdfcraft within layouts/application Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (1.7ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.3ms) Completed 200 OK in 4ms (Views: 4.0ms) ----------------------------------------------------- PdfRenderingTest: test_pdf_rendering_can_use_partials ----------------------------------------------------- Started GET "/partials.pdf" for 127.0.0.1 at 2018-05-22 21:40:43 -0400 Processing by HomeController#partials as PDF Rendering home/partials.pdf.pdfcraft within layouts/application Rendered home/_the_partial.pdf.pdfcraft (1.1ms) Rendered home/partials.pdf.pdfcraft within layouts/application (4.1ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.3ms) Completed 200 OK in 8ms (Views: 7.6ms) --------------------------------------------------------------- PdfRenderingTest: test_pdf_renderer_uses_the_specified_template --------------------------------------------------------------- Started GET "/another.pdf" for 127.0.0.1 at 2018-05-22 21:40:43 -0400 Processing by HomeController#another as PDF Rendering home/index.pdf.pdfcraft within layouts/application Rendered home/index.pdf.pdfcraft within layouts/application (1.7ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.3ms) Completed 200 OK in 6ms (Views: 5.7ms) ------------------------------------------------------- PdfRenderingTest: test_pdf_rendering_can_access_helpers ------------------------------------------------------- Started GET "/helpers.pdf" for 127.0.0.1 at 2018-05-22 21:40:43 -0400 Processing by HomeController#helpers as PDF Rendering home/helpers.pdf.pdfcraft within layouts/application Rendered home/helpers.pdf.pdfcraft within layouts/application (1.8ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.4ms) Completed 200 OK in 7ms (Views: 7.0ms) -------------------------------------------------------- PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file -------------------------------------------------------- Started GET "/home.pdf" for 127.0.0.1 at 2018-05-22 21:40:43 -0400 Processing by HomeController#index as PDF Rendering home/index.pdf.pdfcraft within layouts/application Rendered home/index.pdf.pdfcraft within layouts/application (3.7ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.6ms) Completed 200 OK in 7ms (Views: 6.7ms) ------------------------ PdfcraftTest: test_truth ------------------------ ---------------------------------------------------------------- ConfigurationTest: test_rendering_with_a_configured_pdf_variable ---------------------------------------------------------------- Started GET "/renamed_var.pdf" for 127.0.0.1 at 2018-05-22 21:43:57 -0400 Processing by HomeController#renamed_var as PDF Rendering home/renamed_var.pdf.pdfcraft Rendered home/renamed_var.pdf.pdfcraft (29.6ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.8ms) Completed 200 OK in 35ms (Views: 34.3ms) --------------------------------------------------------------- PdfRenderingTest: test_pdf_renderer_uses_the_specified_template --------------------------------------------------------------- Started GET "/another.pdf" for 127.0.0.1 at 2018-05-22 21:43:57 -0400 Processing by HomeController#another as PDF Rendering home/index.pdf.pdfcraft within layouts/application Rendered home/index.pdf.pdfcraft within layouts/application (4.3ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.5ms) Completed 200 OK in 16ms (Views: 15.4ms) ---------------------------------------------------- PdfRenderingTest: test_pdf_layout_can_be_set_in_view ---------------------------------------------------- Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2018-05-22 21:43:57 -0400 Processing by HomeController#pdf_layout as PDF Rendering home/pdf_layout.pdf.pdfcraft within layouts/application Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (4.7ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.4ms) Completed 200 OK in 18ms (Views: 17.8ms) ---------------------------------------------------------------------- PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer ---------------------------------------------------------------------- Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2018-05-22 21:43:57 -0400 Processing by HomeController#pdf_layout as PDF Rendering home/pdf_layout.pdf.pdfcraft within layouts/application Rendered home/pdf_layout.pdf.pdfcraft within layouts/application (1.6ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.3ms) Completed 200 OK in 4ms (Views: 3.6ms) ------------------------------------------------------- PdfRenderingTest: test_pdf_rendering_can_access_helpers ------------------------------------------------------- Started GET "/helpers.pdf" for 127.0.0.1 at 2018-05-22 21:43:57 -0400 Processing by HomeController#helpers as PDF Rendering home/helpers.pdf.pdfcraft within layouts/application Rendered home/helpers.pdf.pdfcraft within layouts/application (1.9ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.3ms) Completed 200 OK in 6ms (Views: 6.1ms) ----------------------------------------------------- PdfRenderingTest: test_pdf_rendering_can_use_partials ----------------------------------------------------- Started GET "/partials.pdf" for 127.0.0.1 at 2018-05-22 21:43:57 -0400 Processing by HomeController#partials as PDF Rendering home/partials.pdf.pdfcraft within layouts/application Rendered home/_the_partial.pdf.pdfcraft (1.4ms) Rendered home/partials.pdf.pdfcraft within layouts/application (5.3ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.3ms) Completed 200 OK in 9ms (Views: 9.1ms) -------------------------------------------------------- PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file -------------------------------------------------------- Started GET "/home.pdf" for 127.0.0.1 at 2018-05-22 21:43:57 -0400 Processing by HomeController#index as PDF Rendering home/index.pdf.pdfcraft within layouts/application Rendered home/index.pdf.pdfcraft within layouts/application (1.3ms) Rendering text template Rendered text template (0.0ms) Sent data contents.pdf (0.4ms) Completed 200 OK in 4ms (Views: 3.5ms)