Fix RSpec deprecation error
Merge pull request #742 from RiotGames/fix_deprecation

Fix RSpec deprecation error