switch rspec syntax in crypto providers spec