Fix Env spec, verify identity instead of equality

This commit is contained in:
Thibault Jouan 2014-02-14 18:31:54 +00:00
parent 09f624744b
commit 00d9b074cd

View File

@ -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