0
0
zero/spec/unit/zero/request/path_spec.rb
Stormwind 3a82183563 Improve test structure
Created folder spec/unit/zero and moved all unittest into this folder.
2013-01-06 20:24:39 +01:00

10 lines
195 B
Ruby

require 'spec_helper'
describe Zero::Request, '#path' do
subject { Zero::Request.new(env) }
let(:path) { '/foo' }
let(:env) { EnvGenerator.get(path) }
its(:path) { should == path }
end