Sha256: 06b1a0949de1558996072d2f675a90ea20e11eb4627c970261f42f20c32565e9

Contents?: true

Size: 323 Bytes

Versions: 6

Compression:

Stored size: 323 Bytes

Contents

require 'bundler/setup'
Bundler.setup
require 'pry'
require 'rack/test'
require 'rack/reducer'

RSpec.configure do |config|
  config.color = true
  config.order = :random
  config.include Rack::Test::Methods
end

module SpecRefinements
  refine Rack::MockResponse do
    define_method(:json) { JSON.parse(body) }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rack-reducer-2.0.3 spec/spec_helper.rb
rack-reducer-2.0.2 spec/spec_helper.rb
rack-reducer-2.0.0 spec/spec_helper.rb
rack-reducer-1.1.2 spec/spec_helper.rb
rack-reducer-1.1.1 spec/spec_helper.rb
rack-reducer-1.1.0 spec/spec_helper.rb