inject-method Rewriting the inject method in Ruby, using Rspec Note: There are no tests if block is not given.