Sha256: 890c3806667f7e8526aa44d02a719bd3ba071c061a520e8a1ca8ddd327f6e993

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 Bytes

Contents

require 'fortress'

#
# Mother class for all controller used to test Fortress
#
class TestController < ActionController::Base
  include Rails.application.routes.url_helpers
  def render(*_)
  end
end

#
# This controller is the one used in all the tests
#
class GuitarsController < TestController
  def index; end

  def show; end

  def new; end

  def create; end

  def edit; end

  def update; end

  def destroy; end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fortress-0.1.0 spec/fixtures/controllers.rb