replace deprecated stub syntax with rspec allow syntax.
Merge pull request #204 from moneyadviceservice/deprecation_fixes

replace deprecated stub syntax with rspec allow syntax.