rspec 3 deprecation removal

Fix for RSpec deprecation
@noelrappin Could you make that change?