spec/unit/substation/response/env_spec.rb in substation-0.0.8 vs spec/unit/substation/response/env_spec.rb in substation-0.0.9

- old
+ new

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