Sha256: 667f329ac6916229fb76b1f4d87bd0c5eefea85ade0564fa9d4e3f462031d3e2
Contents?: true
Size: 576 Bytes
Versions: 5
Compression:
Stored size: 576 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' require 'puppet-debugger' require 'puppet-debugger/plugin_test_helper' describe :whereami do include_examples 'plugin_tests' let(:input) do File.expand_path File.join(fixtures_dir, 'sample_start_debugger.pp') end let(:options) do { source_file: input, source_line: 10 } end before(:each) do debugger.handle_input('whereami') end it 'runs' do expect(output.string).to match(/\s+5/) end it 'contains marker' do expect(output.string).to match(/\s+=>\s10/) end end
Version data entries
5 entries across 5 versions & 1 rubygems