Fix Action#env spec:

Test that we get the exact assigned object, instead of just testing
equality.
This commit is contained in:
Thibault Jouan 2013-08-06 19:09:20 +00:00
parent 3c92b04b90
commit 889ddf84e4

View File

@ -8,7 +8,7 @@ module Producer::Core
describe '#env' do
it 'returns the assigned env' do
expect(action.env).to eq env
expect(action.env).to be env
end
end