Sha256: df0c743b8f925c7ada2143c65207c0097e45a2a8db7b655e67d922840e13aefc

Contents?: true

Size: 429 Bytes

Versions: 5

Compression:

Stored size: 429 Bytes

Contents

# frozen_string_literal: true

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

describe :resources do
  include_examples 'plugin_tests'
  let(:args) {}

  it 'should be able to print resources' do
    debugger_output = /main/
    expect(plugin.run(args)).to match(debugger_output)
  end

  it 'filter resources' do
    expect(plugin.run(['settings'])).to match(/Settings/)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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