changed deprecated stub method
Merge pull request #47 from pawurb/fixing_rspec

changed deprecated stub method