Sha256: 0b2a20bdbfe6fb0c3e91026dfb0e507ec1a6758b3dd3e5076a43ade2248cbb71

Contents?: true

Size: 801 Bytes

Versions: 6

Compression:

Stored size: 801 Bytes

Contents

require 'helper'

class ApplicationControllerTest < ActionController::TestCase
  tests ApplicationController
 
  context "Request" do 
    setup do
      @request = @controller.request
    end

    should "respond to #wiselinks?" do
      assert_respond_to @request, :wiselinks?
    end
    
    should "respond to #wiselinks_partial?" do
      assert_respond_to @request, :wiselinks_partial?
    end    
    
    should "respond to #wiselinks_template?" do
      assert_respond_to @request, :wiselinks_template?
    end
  end

  context "Layout" do
    should "respond to #wiselinks_layout" do
      assert_respond_to @controller, :wiselinks_layout
    end
  end

  context "Title" do
    should "respond to #wiselinks_title" do
      assert_respond_to @controller, :wiselinks_title
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wiselinks-0.3.6 test/cases/application_controller_test.rb
wiselinks-0.3.5 test/cases/application_controller_test.rb
wiselinks-0.3.4 test/cases/application_controller_test.rb
wiselinks-0.3.3 test/cases/application_controller_test.rb
wiselinks-0.3.2 test/cases/application_controller_test.rb
wiselinks-0.3.0 test/cases/application_controller_test.rb