added spec for #path
This commit is contained in:
parent
348ec5b74e
commit
95cb897c07
7
spec/unit/request/path_spec.rb
Normal file
7
spec/unit/request/path_spec.rb
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
describe Zero::Request, '#path' do
|
||||||
|
subject { Zero::Request.new(env) }
|
||||||
|
let(:path) { '/foo' }
|
||||||
|
let(:env) { EnvGenerator.get(path) }
|
||||||
|
|
||||||
|
its(:path) { should == path }
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user