Sha256: d05d8501849bab10531c8c35a8ffe7ecf3adb6ce2030c7e4db97729147ca23d0

Contents?: true

Size: 220 Bytes

Versions: 20

Compression:

Stored size: 220 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").should ==  "/foo"
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
roda-2.2.0 spec/env_spec.rb
roda-2.1.0 spec/env_spec.rb
roda-2.0.0 spec/env_spec.rb
roda-1.3.0 spec/env_spec.rb
roda-1.2.0 spec/env_spec.rb
roda-1.1.0 spec/env_spec.rb
roda-cj-1.0.5 spec/env_spec.rb
roda-cj-1.0.4 spec/env_spec.rb
roda-cj-1.0.3 spec/env_spec.rb
roda-cj-1.0.2 spec/env_spec.rb
roda-cj-1.0.1 spec/env_spec.rb
roda-cj-1.0.0 spec/env_spec.rb
roda-1.0.0 spec/env_spec.rb
roda-cj-0.9.6 spec/env_spec.rb
roda-cj-0.9.5 spec/env_spec.rb
roda-cj-0.9.4 spec/env_spec.rb
roda-cj-0.9.3 spec/env_spec.rb
roda-cj-0.9.2 spec/env_spec.rb
roda-cj-0.9.1 spec/env_spec.rb
roda-0.9.0 spec/env_spec.rb