0
0

added spec for #path

This commit is contained in:
Gibheer 2012-11-13 07:53:27 +01:00
parent 348ec5b74e
commit 95cb897c07

View 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