Sha256: 18ee5159ce70679680e92fd8bbd9972fbea9bae95fcc7dfef60d1571b5893c90

Contents?: true

Size: 473 Bytes

Versions: 1

Compression:

Stored size: 473 Bytes

Contents

require 'minitest/autorun'
require 'minitest/reporters'
require 'rack/test'
require 'nokogiri'

require File.expand_path('../support/expectations', __FILE__)
require File.expand_path('../../lib/rack/nokogiri', __FILE__)

include Rack::Test::Methods

MiniTest::Reporters.use! MiniTest::Reporters::SpecReporter.new

def create_app(status, headers, content, options, &block)
  app = lambda { |env| [status, headers, [content]] }
  Rack::Nokogiri.new(app, options, &block)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-nokogiri-0.1.0 spec/spec_helper.rb