Sha256: f9e41a87ed7fd5816a45d7e43778415c52f05ea59fcf4f8b25cf7271cf62e44b

Contents?: true

Size: 673 Bytes

Versions: 8

Compression:

Stored size: 673 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        
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wisepdf-1.1.3 test/application_controller_test.rb
wisepdf-1.1.2 test/application_controller_test.rb
wisepdf-1.1.1 test/application_controller_test.rb
wisepdf-1.1.0 test/application_controller_test.rb
wisepdf-1.0.3 test/application_controller_test.rb
wisepdf-1.0.2 test/application_controller_test.rb
wisepdf-1.0.1 test/application_controller_test.rb
wisepdf-1.0.0 test/application_controller_test.rb