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
c8b802471b
gitlab-org--gitlab-foss
/
spec
/
factories
/
system_hooks.rb
6 lines
85 B
Ruby
Raw
Normal View
History
Unescape
Escape
Move all factory definitions to their own file
2016-02-16 22:55:24 -05:00
FactoryGirl
.
define
do
factory
:system_hook
do
Don't use FFaker in factories, use sequences instead FFaker can generate data that randomly break our test suite. This simplifies our factories and use sequences which are more predictive. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-23 09:08:39 -04:00
url
{
generate
(
:url
)
}
Move all factory definitions to their own file
2016-02-16 22:55:24 -05:00
end
end
Copy permalink