spec/grape/dsl/inside_route_spec.rb in grape-0.14.0 vs spec/grape/dsl/inside_route_spec.rb in grape-0.15.0

- old
+ new

@@ -126,27 +126,9 @@ expect { subject.status Object.new } .to raise_error(ArgumentError, 'Status code must be Fixnum or Symbol.') end end - describe '#header' do - describe 'set' do - before do - subject.header 'Name', 'Value' - end - - it 'returns value' do - expect(subject.header['Name']).to eq 'Value' - expect(subject.header('Name')).to eq 'Value' - end - end - - it 'returns nil' do - expect(subject.header['Name']).to be nil - expect(subject.header('Name')).to be nil - end - end - describe '#content_type' do describe 'set' do before do subject.content_type 'text/plain' end