Sha256: 085f556be3ee8f095cdc5c1f734446c1596ce48aa378cf5cb0f4c0776992dc36
Contents?: true
Size: 494 Bytes
Versions: 2
Compression:
Stored size: 494 Bytes
Contents
require 'spec_helper' describe Response, '#with_headers' do subject { object.with_status(status).with_body(body).with_headers(headers) } let(:object) { described_class.build } let(:status) { Response::Status::OK } let(:body) { double('Body') } let(:headers) { double('Headers') } its(:status) { should be(status) } its(:body) { should be(body) } its(:headers) { should be(headers) } it_should_behave_like 'a functional command method' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
response-0.0.5 | spec/unit/response/with_headers_spec.rb |
response-0.0.4 | spec/unit/response/with_headers_spec.rb |