Sha256: 30846976acb2f55b3bb94d301b6c367cfbf2382434fd2ed8a0f952a552875353

Contents?: true

Size: 398 Bytes

Versions: 9

Compression:

Stored size: 398 Bytes

Contents

require 'pione/test-helper'
require_relative "http-behavior"

describe "Pione::Location::HTTPLocation" do
  before do
    @path = File.join(File.dirname(__FILE__), "spec_http-location")
    @server = TestHelper::WebServer.start(@path)
  end

  after do
    @server.terminate
  end

  def location(path)
    Location["http://127.0.0.1:%s%s" % [@server.port, path]]
  end

  behaves_like "http"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pione-0.5.0 test/location/spec_http-location.rb
pione-0.5.0.alpha.2 test/location/spec_http-location.rb
pione-0.5.0.alpha.1 test/location/spec_http-location.rb
pione-0.4.2 test/location/spec_http-location.rb
pione-0.4.1 test/location/spec_http-location.rb
pione-0.4.0 test/location/spec_http-location.rb
pione-0.3.2 test/location/spec_http-location.rb
pione-0.3.1 test/location/spec_http-location.rb
pione-0.3.0 test/location/spec_http-location.rb