class ChefSpec::Stubs::CommandRegistry
Public Instance Methods
stub_for(command)
click to toggle source
# File lib/chefspec/stubs/command_registry.rb, line 6 def stub_for(command) @stubs.find { |stub| stub.command === command } end