Sha256: 4c453920c2c1f92762bd1d550d96e09e9fc03f38712db337ad1631fbbb66e687

Contents?: true

Size: 653 Bytes

Versions: 5

Compression:

Stored size: 653 Bytes

Contents

require 'spec_helper'
require 'puppet-debugger/plugin_test_helper'

describe :help do
  include_examples "plugin_tests"
  let(:args) { [] }

  it 'can show the help screen' do
    output = plugin.run(args)
    expected_debugger_output = /Type \"commands\" for a list of debugger commands\nor \"help\" to show the help screen.\n\n/
    expect(output).to match(/Ruby Version: #{RUBY_VERSION}\n/)
    expect(output).to match(/Puppet Version: \d.\d\d?.\d\n/)
    expect(output).to match(/Puppet Debugger Version: \d.\d.\d\n/)
    expect(output).to match(/Created by: NWOps <corey@nwops.io>\n/)
    expect(output).to match(expected_debugger_output)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
puppet-debugger-0.9.1 spec/input_responders/help_spec.rb
puppet-debugger-0.9.0 spec/input_responders/help_spec.rb
puppet-debugger-0.8.1 spec/input_responders/help_spec.rb
puppet-debugger-0.8.0 spec/input_responders/help_spec.rb
puppet-debugger-0.7.0 spec/input_responders/help_spec.rb