Remove ambiguity in stubbed methods in spec_helper

- Adjust the stubs in spec/spec_helper.rb to specify the appropriate
  number of expected variables.
- Add parathensis around return values in spec_helper.rb

Change-Id: I24a11e6f54946d0475a71f489dd7c2631e0736ed
Closes-Bug: #1271535