Fixed RSpec expectation syntax. [ci skip]