spec/unit/interface/documentation_spec.rb in puppet-2.7.26 vs spec/unit/interface/documentation_spec.rb in puppet-3.0.0.rc4
- old
+ new
@@ -1,16 +1,17 @@
-#!/usr/bin/env rspec
+#! /usr/bin/env ruby -S rspec
require 'spec_helper'
require 'puppet/interface'
require 'puppet/interface/option'
require 'puppet/interface/documentation'
class Puppet::Interface::TinyDocs::Test
include Puppet::Interface::TinyDocs
- attr_accessor :name, :options
+ attr_accessor :name, :options, :display_global_options
def initialize
self.name = "tinydoc-test"
self.options = []
+ self.display_global_options = []
end
def get_option(name)
Puppet::Interface::Option.new(nil, "--#{name}")
end