0
0
Fork 0

added spec for #method

This commit is contained in:
Gibheer 2012-11-13 07:50:49 +01:00
parent 4990f5fb22
commit 348ec5b74e
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
describe Zero::Request, '#method' do
subject { Zero::Request.new(env) }
let(:env) { EnvGenerator.get('/foo') }
its(:method) { should == :get }
end