0
0
Fork 0

Kill the last mutant in Zero::Request:AcceptType

This commit is contained in:
Stormwind 2013-01-10 19:37:03 +01:00
parent 4d6f5b0b19
commit 158dc45ba6
1 changed files with 11 additions and 10 deletions

View File

@ -24,6 +24,7 @@ describe Zero::Request::AcceptType, '#preferred' do
it { subject.new(nil).preferred.should == '*/*' }
it { subject.new('').preferred.should == '*/*' }
it { subject.new('text / html').preferred.should == html }
it { subject.new("#{html};q=0.9,#{json}").preferred.should == json }
end
# context 'with mapping' do