Sha256: c198bd18c39eeeb1931b4faf00b6bc3683b2576392add6a4620c612d94d2e2e3
Contents?: true
Size: 551 Bytes
Versions: 22
Compression:
Stored size: 551 Bytes
Contents
require 'spec_helper' require 'puppet-debugger' require 'puppet-debugger/plugin_test_helper' describe :commands do include_examples 'plugin_tests' let(:args) { [] } it do expect(plugin.run(args)).to match(/environment/) end it 'run a plugin command' do debugger.handle_input('help') expect(output.string).to match(/Type "commands" for a list of debugger commands/) end it 'show error when command does not exist' do debugger.handle_input('helpp') expect(output.string).to match(/invalid command helpp/) end end
Version data entries
22 entries across 22 versions & 1 rubygems