Sha256: 5c2234f05311ac9ca5799597e5f92125e0896706bcabb0bce2f961a31d4cf3cd

Contents?: true

Size: 308 Bytes

Versions: 11

Compression:

Stored size: 308 Bytes

Contents

# make sure this is set before Sinatra is required
ENV["RACK_ENV"] = "test"

require "bundler"
Bundler.require(:default, :test)

require "minitest/autorun"
require "rr"

require_relative "../lib/pliny"

class MiniTest::Spec
  include Rack::Test::Methods

  before do
    Pliny::RequestStore.clear!
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pliny-0.4.0 test/test_helper.rb
pliny-0.3.0 test/test_helper.rb
pliny-0.2.1 test/test_helper.rb
pliny-0.2.0 test/test_helper.rb
pliny-0.1.0 test/test_helper.rb
pliny-0.0.4 test/test_helper.rb
pliny-0.0.3 test/test_helper.rb
pliny-0.0.1 test/test_helper.rb
pliny-0.0.1.pre3 test/test_helper.rb
pliny-0.0.1.pre2 test/test_helper.rb
pliny-0.0.1.pre test/test_helper.rb