Skip to content
代码片段 群组 项目
提交 62bb3807 编辑于 作者: Shinya Maeda's avatar Shinya Maeda
浏览文件

Merge branch 'jh-replace-create-with-build-stubbed' into 'master'

Replace create with build_stubbed in user validations

See merge request gitlab-org/gitlab!35901
No related branches found
No related tags found
无相关合并请求
......@@ -214,7 +214,7 @@
describe 'validations' do
describe 'password' do
let!(:user) { create(:user) }
let!(:user) { build_stubbed(:user) }
before do
allow(Devise).to receive(:password_length).and_return(8..128)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册