Convert to new RSpec expectation syntax