fixed failing spec examples
Merge branch 'hotfix/fixing-rspecs'

* hotfix/fixing-rspecs:
  fixed failing spec examples