Sha256: 688d815cde55dc297b43f246eeedf37b4532c98de15d63c9f7750de66450000a

Contents?: true

Size: 473 Bytes

Versions: 5

Compression:

Stored size: 473 Bytes

Contents

require 'rspec'
require 'rack/test'
require 'rack/ecg'

RSpec.configure do |config|
  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end

  config.disable_monkey_patching!

  config.warnings = true

  config.include Rack::Test::Methods

  def json_body
    @json_body ||= JSON.parse(last_response.body)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rack-ecg-0.0.5 spec/spec_helper.rb
rack-ecg-0.0.4 spec/spec_helper.rb
rack-ecg-0.0.3 spec/spec_helper.rb
rack-ecg-0.0.2 spec/spec_helper.rb
rack-ecg-0.0.1 spec/spec_helper.rb