Sha256: 1d18b8f46abe30dac7111021b6b814ff29c0bcc25e81377a82cd9fed1b641fb2

Contents?: true

Size: 481 Bytes

Versions: 5

Compression:

Stored size: 481 Bytes

Contents

# frozen_string_literal: true

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

describe :classes do
  include_examples 'plugin_tests'
  let(:input) do
    'classes'
  end

  it 'should be able to print classes' do
    expect(plugin.run([])).to match(/settings/)
  end

  it 'should be able to print classes with handle input' do
    debugger_output = /settings/
    expect(plugin.run(['settings'])).to match(debugger_output)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
puppet-debugger-1.4.0 spec/input_responders/classes_spec.rb
puppet-debugger-1.3.0 spec/input_responders/classes_spec.rb
puppet-debugger-1.2.0 spec/input_responders/classes_spec.rb
puppet-debugger-1.1.0 spec/input_responders/classes_spec.rb
puppet-debugger-1.0.0 spec/input_responders/classes_spec.rb