Kill the last mutant in Zero::Request:AcceptType
This commit is contained in:
parent
4d6f5b0b19
commit
158dc45ba6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue