Sha256: a1fe308d4810dc7dc7944e00b7dfa33c9f00a054163da48c8b5042e68ed31298

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

ENV['RACK_ENV'] = 'test'

require 'rspec'
require 'ginatra'
require 'rack/test'

def app
  Ginatra::App
end

def current_path
  File.expand_path File.dirname(__FILE__)
end

RSpec.configure do |config|
  config.include Rack::Test::Methods
  config.include Ginatra::Helpers
end

Ginatra.config.git_dirs << "./repos/*" unless Ginatra.config.git_dirs.include?('./repos/*')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ginatra-4.1.0 spec/spec_helper.rb