module RSpecCandy::Helpers::ShouldReceiveAndReturn
Public Instance Methods
should_receive_and_return(methods_and_values)
click to toggle source
# File lib/rspec_candy/helpers/should_receive_and_return.rb, line 5 def should_receive_and_return(methods_and_values) methods_and_values.each do |method, value| should_receive(method).and_return(value) end self end