update specs to rspec's new expecation syntax

see https://www.relishapp.com/rspec/rspec-expectations/docs/syntax-configura
tion for more info

This avoids some deprecation warnings which popped up when running the specs