Sha256: ffbe84042d0675edf13e65505c46de1eaa296d51293e73b69a9005e9c683e810
Contents?: true
Size: 545 Bytes
Versions: 22
Compression:
Stored size: 545 Bytes
Contents
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
22 entries across 22 versions & 1 rubygems