Skip to content
代码片段 群组 项目
未验证 提交 954ea041 编辑于 作者: gilles dehaudt's avatar gilles dehaudt 提交者: GitLab
浏览文件

Fix rubocop alerts on spec/mailers/emails/profile_spec.rb

上级 3197da14
No related branches found
No related tags found
无相关合并请求
......@@ -20,7 +20,6 @@ Layout/SpaceInsideParens:
- 'spec/lib/security/ci_configuration/sast_build_action_spec.rb'
- 'spec/lib/security/ci_configuration/sast_iac_build_action_spec.rb'
- 'spec/lib/security/ci_configuration/secret_detection_build_action_spec.rb'
- 'spec/mailers/emails/profile_spec.rb'
- 'spec/models/ml/candidate_metric_spec.rb'
- 'spec/models/ml/candidate_spec.rb'
- 'spec/policies/clusters/agent_policy_spec.rb'
......
......@@ -540,7 +540,7 @@
let(:user) { create(:user, :two_factor) }
it 'does not mention two factor authentication' do
expect( Notify.unknown_sign_in_email(user, ip, current_time) )
expect(Notify.unknown_sign_in_email(user, ip, current_time))
.not_to have_body_text(/two-factor authentication/)
end
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册