Sha256: 90504fa74f9b49b49f0d1e5e1c98c98662714c42fb799a44b45af320e6bbcc25
Contents?: true
Size: 470 Bytes
Versions: 2
Compression:
Stored size: 470 Bytes
Contents
require 'spec_helper' describe Request::Rack, '#protocol' do subject { object.protocol } Request::Protocol::ALL.each do |protocol| it_should_behave_like 'a rack env accessor' do let(:object) { described_class.new(env) } let(:rack_key) { 'rack.url_scheme' } let(:rack_key_value) { protocol.name } let(:expected_value) { protocol } #let(:expected_method) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
request-0.0.3 | spec/unit/request/rack/protocol_spec.rb |
request-0.0.2 | spec/unit/request/rack/protocol_spec.rb |