Module: RSpec::Core::DSL
- Defined in:
- lib/conjur/command/rspec/describe_command.rb
Instance Method Summary collapse
Instance Method Details
#describe_command(*argv, &block) ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/conjur/command/rspec/describe_command.rb', line 2 def describe_command *argv, &block describe *argv do let(:invoke) do Conjur::CLI.error_device = $stderr # TODO: allow proper handling of description like "audit:send 'hello world'" Conjur::CLI.run argv.first.split(' ') end instance_eval &block end end |