Fix syntax error in RSpec