added spec for #path
This commit is contained in:
parent
348ec5b74e
commit
95cb897c07
|
@ -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