method
assign_stubs
assign_stubs(stubs)
private
Hide source
# File lib/spec/mocks/mock.rb, line 48 def assign_stubs(stubs) stubs.each_pair do |message, response| stub!(message).and_return(response) end end