This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-gitlab
/
gitlab-org--gitlab-foss
Watch
1
Star
0
Fork
You've already forked gitlab-org--gitlab-foss
0
Code
Releases
Activity
ba9eeea4ee
gitlab-org--gitlab-foss
/
spec
/
factories
/
project_group_links.rb
8 lines
105 B
Ruby
Raw
Normal View
History
Unescape
Escape
Replace factory_girl_rails with factory_bot_rails I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands: ``` grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|" grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|" ``` Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-14 00:13:44 +00:00
FactoryBot
.
define
do
Bring ProjectGroupLink model and migrations from EE Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-11 16:47:05 +00:00
factory
:project_group_link
do
Change all `:empty_project` to `:project`
2017-08-02 19:55:11 +00:00
project
Bring ProjectGroupLink model and migrations from EE Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-11 16:47:05 +00:00
group
API: Add shared project's expiration date
2018-08-09 08:21:17 +00:00
expires_at
nil
Bring ProjectGroupLink model and migrations from EE Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-11 16:47:05 +00:00
end
end