diff --git a/spec/unit/request/path_spec.rb b/spec/unit/request/path_spec.rb new file mode 100644 index 0000000..8484ba8 --- /dev/null +++ b/spec/unit/request/path_spec.rb @@ -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