Use newer expectation syntax in rspec tests