Sha256: eab7013b75b8328a0e79f4c6a506005fc1d75eddd5f91feb17aae08625b71bed
Contents?: true
Size: 773 Bytes
Versions: 7
Compression:
Stored size: 773 Bytes
Contents
require 'helper' class ApplicationControllerTest < ActionController::TestCase tests ApplicationController context "The controller" do setup do module Wisepdf::Render public :make_pdf public :make_and_send_pdf public :prerender_header_and_footer end end should "respond to #make_pdf" do assert_respond_to @controller, :make_pdf end should "respond to #make_and_send_pdf" do assert_respond_to @controller, :make_and_send_pdf end should "respond to #prerender_header_and_footer" do assert_respond_to @controller, :prerender_header_and_footer end should 'render pdf' do get :index, :format => :pdf assert_response 200 end end end
Version data entries
7 entries across 7 versions & 1 rubygems