spec/unit/substation/response/request_spec.rb in substation-0.0.9 vs spec/unit/substation/response/request_spec.rb in substation-0.0.10.beta2

- old
+ new

@@ -5,13 +5,12 @@ describe Response, '#request' do subject { object.request } let(:object) { Class.new(described_class).new(request, output) } - let(:request) { Request.new(name, env, input) } - let(:name) { mock } - let(:env) { mock } - let(:input) { mock } - let(:output) { mock } + let(:request) { Request.new(env, input) } + let(:env) { double } + let(:input) { double } + let(:output) { double } - it { should be(request) } + it { should equal(request) } end