8 lines
172 B
Ruby
8 lines
172 B
Ruby
describe Zero::Request, '#path' do
|
|
subject { Zero::Request.new(env) }
|
|
let(:path) { '/foo' }
|
|
let(:env) { EnvGenerator.get(path) }
|
|
|
|
its(:path) { should == path }
|
|
end
|