From 00d9b074cd2da5f515fbb2c0f9fe4eecd8d63868 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Fri, 14 Feb 2014 18:31:54 +0000 Subject: [PATCH] Fix Env spec, verify identity instead of equality --- spec/producer/core/env_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/producer/core/env_spec.rb b/spec/producer/core/env_spec.rb index 75cd780..74c1422 100644 --- a/spec/producer/core/env_spec.rb +++ b/spec/producer/core/env_spec.rb @@ -26,7 +26,7 @@ module Producer::Core subject(:env) { described_class.new(input: input) } it 'assigns the given input' do - expect(env.input).to eq input + expect(env.input).to be input end end @@ -35,7 +35,7 @@ module Producer::Core subject(:env) { described_class.new(output: output) } it 'assigns the given output' do - expect(env.output).to eq output + expect(env.output).to be output end end end