spec/input_responders/vars_spec.rb in puppet-debugger-0.8.1 vs spec/input_responders/vars_spec.rb in puppet-debugger-0.9.0

- old
+ new

@@ -22,6 +22,17 @@ end it 'display local variable' do debugger.handle_input("$var1 = 'value1'") expect(plugin.run(args)).to match(/value1/) end + + describe 'resource' do + let(:input) do + "$service_require = Package['httpd']" + end + it 'can process a resource' do + debugger_output = /Facts/ + debugger.handle_input(input) + expect(plugin.run(args)).to match(debugger_output) + end + end end