Sha256: 9e9e80b9933b6703c88aa5e3c5f8d69fb6e47734168b340fd87d4bd74eae116e

Contents?: true

Size: 276 Bytes

Versions: 3

Compression:

Stored size: 276 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ginatra-4.0.2 spec/spec_helper.rb
ginatra-4.0.1 spec/spec_helper.rb
ginatra-4.0.0 spec/spec_helper.rb