Class: Producer::Core::Tests::HasEnv
- Inherits:
-
Producer::Core::Test
- Object
- Producer::Core::Test
- Producer::Core::Tests::HasEnv
- Defined in:
- lib/producer/core/tests/has_env.rb
Instance Attribute Summary
Attributes inherited from Producer::Core::Test
Instance Method Summary collapse
Methods inherited from Producer::Core::Test
#initialize, #negated?, #pass?
Constructor Details
This class inherits a constructor from Producer::Core::Test
Instance Method Details
#verify ⇒ Object
5 6 7 8 9 10 |
# File 'lib/producer/core/tests/has_env.rb', line 5 def verify case arguments.size when 1 then remote.environment.key? key when 2 then remote.environment[key] == arguments.last end end |