Sha256: 01440da33650fb47c5cd5f689c6c8ebed5a8de74e4120ed59164b0d0fd80b586
Contents?: true
Size: 444 Bytes
Versions: 50
Compression:
Stored size: 444 Bytes
Contents
require 'rubygems' require 'test/unit' require 'rack/test' $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'sinatra/markaby' class Test::Unit::TestCase include Rack::Test::Methods attr_reader :app # Sets up a Sinatra::Base subclass defined with the block # given. Used in setup or individual spec methods to establish # the application. def mock_app(base=Sinatra::Base, &block) @app = Sinatra.new(base, &block) end end
Version data entries
50 entries across 50 versions & 3 rubygems