Fix rspec deprecations
Merge pull request #112 from WojtekKruszewski/fix_rspec_deprecations

Fix rspec deprecations