Update test syntax for latest rspec