Sha256: 3a74aef2f5268b75aa394c37a36c23849ed71cc187f53822a50acc80b2c38b82

Contents?: true

Size: 240 Bytes

Versions: 10

Compression:

Stored size: 240 Bytes

Contents

require 'lookout/rack/test'

module Lookout::Rack::Test::RSpec
    module RouteHelper
      def app
        return @app if @app

        klass = ::Lookout::Rack::Test.app || $application_class
        @app = klass.new
      end
    end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lookout-rack-test-3.0.0 lib/lookout/rack/test/rspec/route_helper.rb
lookout-rack-test-2.3.1 lib/lookout/rack/test/rspec/route_helper.rb
lookout-rack-test-2.3.0 lib/lookout/rack/test/rspec/route_helper.rb
lookout-rack-test-2.2.0 lib/lookout/rack/test/rspec/route_helper.rb
lookout-rack-test-2.1.0 lib/lookout/rack/test/rspec/route_helper.rb
lookout-rack-test-2.0.2 lib/lookout/rack/test/rspec/route_helper.rb
lookout-rack-test-2.0.1 lib/lookout/rack/test/rspec/route_helper.rb
lookout-rack-test-2.0.0 lib/lookout/rack/test/rspec/route_helper.rb
lookout-rack-test-1.3.0 lib/lookout/rack/test/rspec/route_helper.rb
lookout-rack-test-1.2.0 lib/lookout/rack/test/rspec/route_helper.rb