Skip to content
代码片段 群组 项目
提交 cf12e658 编辑于 作者: Furkan Ayhan's avatar Furkan Ayhan 提交者: George Koltsov
浏览文件

Fix wrong behavior when CI keyword "when" is an array

We have the "inclusion" validation for the "when" keyword but no
validation for its type. So, the attribute also accepts an array as
the value. The "inclusion" validation of "ActiveModel::Validations"
also accepts array values and compares each element.

In this commit, we are adding the "type: String" validation for
the "when" keyword for Job and Bridge entries.

Changelog: fixed
上级 20a28eba
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册