Fix Action#env spec:
Test that we get the exact assigned object, instead of just testing equality.
This commit is contained in:
parent
3c92b04b90
commit
889ddf84e4
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user