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