summaryrefslogtreecommitdiff
path: root/chef/spec/data/knife_subcommand/test_yourself.rb
blob: 4b3f6b039ca00f9b1bc6fc2acaa96982b71098c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module KnifeSpecs
  class TestYourself < Chef::Knife

    option :scro, :short => '-s SCRO', :long => '--scro SCRO', :description => 'a configurable setting'

    attr_reader :ran

    def run
      @ran = true
      self # return self so tests can poke at me
    end
  end
end