Rspec refactor.
Merge pull request #62 from anjankumarhn/QAUTH-34

[QAUTH-34]->[master] Rspec refactor.