class ChefSpec::Stubs::DataBagRegistry
Public Instance Methods
stub_for(bag)
click to toggle source
# File lib/chefspec/stubs/data_bag_registry.rb, line 6 def stub_for(bag) @stubs.find do |stub| stub.bag.to_s == bag.to_s end end