Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 6e930adfae
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.448 kb
require 'spec_helper'
describe Request::Rack, '#request_method' do
subject { object.request_method }
Request::Method::ALL.each do |method|
it_should_behave_like 'a rack env accessor' do
let(:object) { described_class.new(env) }
let(:rack_key) { 'REQUEST_METHOD' }
let(:rack_key_value) { method.verb }
let(:expected_value) { method }
end
end
end
Jump to Line
Something went wrong with that request. Please try again.