spec/input_responders/resources_spec.rb in puppet-debugger-0.17.0 vs spec/input_responders/resources_spec.rb in puppet-debugger-0.18.0
- old
+ new
@@ -2,12 +2,16 @@
require 'puppet-debugger'
require 'puppet-debugger/plugin_test_helper'
describe :resources do
include_examples 'plugin_tests'
- let(:args) { ["resources"] }
+ 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