spec/unit/headers_spec.rb in goliath-1.0.4 vs spec/unit/headers_spec.rb in goliath-1.0.5
- old
+ new
@@ -17,14 +17,14 @@
@h.to_s.should == "my_header: my_value1\r\n"
end
it 'returns true if a key has been set' do
@h['my_header'] = 'my_value'
- @h.has_key?('my_header').should be_true
+ @h.has_key?('my_header').should be true
end
it 'returns false if the key has not been set' do
- @h.has_key?('my_header').should be_false
+ @h.has_key?('my_header').should be false
end
it 'ignores nil values' do
@h['my_header'] = nil
@h.to_s.should == ''