Sha256: 4ec2313d1e30dc0e874e680c55f07c0252afb19495a69f646ab5d6e85292a59e

Contents?: true

Size: 577 Bytes

Versions: 1

Compression:

Stored size: 577 Bytes

Contents

module FixtureApp
  include ::TrueWeb

  def self.app
    @app ||= Rack::Builder.new do
      run ::FixtureApp::Controller
    end.to_app
  end

  class Controller < ::TrueWeb::Controller
  end

  class Views < ::TrueWeb::Views
  end

  class Routes < NamedRoutes::Routes
  end
end

FixtureApp.init(
  :controller => FixtureApp::Controller,
  :application_name => "fixture-app",
  :root_dir => File.dirname(__FILE__),
  :named_routes => FixtureApp::Routes,
  :views_class => FixtureApp::Views
)

FixtureApp.register_service("#{File.dirname(__FILE__)}/services/authentication")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
true-web-0.1.3 spec/fixture-app/app.rb