aboutsummaryrefslogtreecommitdiff
path: root/spec/unit/request/path_spec.rb
blob: 8484ba8a53a9521adafad5c4e8c8038012199c5d (plain) (blame)
1
2
3
4
5
6
7
describe Zero::Request, '#path' do
  subject { Zero::Request.new(env) }
  let(:path) { '/foo' }
  let(:env) { EnvGenerator.get(path) }

  its(:path) { should == path }
end