Sha256: 9bf158a477c6c4d626b9db0402a7df68fd0ff9afda15412ee1238745f641aa5f

Contents?: true

Size: 221 Bytes

Versions: 28

Compression:

Stored size: 221 Bytes

Contents

require File.expand_path("spec_helper", File.dirname(__FILE__))

describe "Roda#env" do
  it "should return the environment" do
    app do |r|
      env['PATH_INFO']
    end

    body("/foo").must_equal  "/foo"
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
roda-2.29.0 spec/env_spec.rb
roda-2.28.0 spec/env_spec.rb
roda-2.27.0 spec/env_spec.rb
roda-2.26.0 spec/env_spec.rb
roda-2.25.0 spec/env_spec.rb
roda-2.24.0 spec/env_spec.rb
roda-2.23.0 spec/env_spec.rb
roda-2.22.0 spec/env_spec.rb
roda-2.21.0 spec/env_spec.rb
roda-2.20.0 spec/env_spec.rb
roda-2.19.0 spec/env_spec.rb
roda-2.18.0 spec/env_spec.rb
roda-2.17.0 spec/env_spec.rb
roda-2.16.0 spec/env_spec.rb
roda-2.15.0 spec/env_spec.rb
roda-2.14.0 spec/env_spec.rb
roda-2.13.0 spec/env_spec.rb
roda-2.12.0 spec/env_spec.rb
roda-2.11.0 spec/env_spec.rb
roda-2.10.0 spec/env_spec.rb