Sha256: 2a7ff017cfa671d2498d87a7d5de0bb4c90accd32470922676378e25a02b332f

Contents?: true

Size: 370 Bytes

Versions: 4

Compression:

Stored size: 370 Bytes

Contents

require "test_helper"

module Guts
  class ApplicationControllerTest < ActionController::TestCase
    setup do
      @controller = Guts::UsersController.new
      @routes     = Engine.routes
    end
    
    test "should look layout_hook file from Rails app" do
      get :index
      assert_equal true, @response.body.include?("See you in the after")
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
guts-1.0.8 test/controllers/guts/application_controller_test.rb
guts-1.0.7 test/controllers/guts/application_controller_test.rb
guts-1.0.5 test/controllers/guts/application_controller_test.rb
guts-1.0.3 test/controllers/guts/application_controller_test.rb