Remove ambiguity in stubbed methods in spec_helper

- Adjust the stubs in spec/spec_helper.rb to specify the appropriate
  number of expected variables.

Partial-Bug: #1271535
Change-Id: I34542d8544cf7cefa5caebf4c323879c567a4f20
Merge "Remove ambiguity in stubbed methods in spec_helper"