Ensure subject passes validations
Rails 5 requires that belongs_to associations have the associated record present. These tests were failing because they had nil values.
Showing
想要评论请 注册 或 登录
Rails 5 requires that belongs_to associations have the associated record present. These tests were failing because they had nil values.