Fix Action#env spec:
Test that we get the exact assigned object, instead of just testing equality.
This commit is contained in:
@@ -8,7 +8,7 @@ module Producer::Core
|
|||||||
|
|
||||||
describe '#env' do
|
describe '#env' do
|
||||||
it 'returns the assigned env' do
|
it 'returns the assigned env' do
|
||||||
expect(action.env).to eq env
|
expect(action.env).to be env
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user