Sha256: 3516a4b02b0f2ae6e43a6efe30ef2db16376f3847e607b08dda4e3f494b53cd9

Contents?: true

Size: 336 Bytes

Versions: 2

Compression:

Stored size: 336 Bytes

Contents

require 'spec_helper'

require 'rack/test'

require_relative '../core/boot'

module AppHelper
  def app
    Simple::Application.app
  end
end

RSpec.configure do |config|
  config.before(:suite) do
    Simple::Application.freeze
  end

  config.include Rack::Test::Methods, type: :request
  config.include AppHelper, type: :request
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
dry-web-0.1.0 skeletons/simple/spec/web_helper.rb
rodakase-0.0.1 skeletons/simple/spec/web_helper.rb