Sha256: f1ba455774a6cf942b322be837911cf7ea7d40f83e01224e37c717298a9357c4

Contents?: true

Size: 517 Bytes

Versions: 20

Compression:

Stored size: 517 Bytes

Contents

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

describe :classes do
  include_examples 'plugin_tests'
  let(:args) { [] }

    let(:input) do
      'classes'
    end

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

    it 'should be able to print classes with handle input' do
      debugger_output = /settings/
      debugger.handle_input(input)
      expect(output.string).to match(debugger_output)
    end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
puppet-debugger-0.17.0 spec/input_responders/classes_spec.rb
puppet-debugger-0.16.0 spec/input_responders/classes_spec.rb
puppet-debugger-0.15.2 spec/input_responders/classes_spec.rb
puppet-debugger-0.15.1 spec/input_responders/classes_spec.rb
puppet-debugger-0.15.0 spec/input_responders/classes_spec.rb
puppet-debugger-0.14.0 spec/input_responders/classes_spec.rb
puppet-debugger-0.13.0 spec/input_responders/classes_spec.rb
puppet-debugger-0.12.3 spec/input_responders/classes_spec.rb
puppet-debugger-0.12.2 spec/input_responders/classes_spec.rb
puppet-debugger-0.12.1 spec/input_responders/classes_spec.rb
puppet-debugger-0.12.0 spec/input_responders/classes_spec.rb
puppet-debugger-0.11.0 spec/input_responders/classes_spec.rb
puppet-debugger-0.10.3 spec/input_responders/classes_spec.rb
puppet-debugger-0.10.2 spec/input_responders/classes_spec.rb
puppet-debugger-0.10.1 spec/input_responders/classes_spec.rb
puppet-debugger-0.10.0 spec/input_responders/classes_spec.rb
puppet-debugger-0.9.1 spec/input_responders/classes_spec.rb
puppet-debugger-0.9.0 spec/input_responders/classes_spec.rb
puppet-debugger-0.8.1 spec/input_responders/classes_spec.rb
puppet-debugger-0.8.0 spec/input_responders/classes_spec.rb