spec/unit/response/headers_spec.rb in response-0.0.3 vs spec/unit/response/headers_spec.rb in response-0.0.4

- old
+ new

@@ -9,10 +9,10 @@ it { should eql({}) } end context 'when set' do - let(:headers) { mock('Headers') } + let(:headers) { double('Headers') } let(:object) { described_class.build.with_headers(headers) } it { should be(headers) }