Commit b530cabd authored by Yorick Peterse's avatar Yorick Peterse

Merge branch 'fix-forked-project-link-specs' into 'master'

Reload forked_project_link projects

See merge request !3526
parents 1926e55e 6e0f8453
...@@ -13,5 +13,10 @@ FactoryGirl.define do ...@@ -13,5 +13,10 @@ FactoryGirl.define do
factory :forked_project_link do factory :forked_project_link do
association :forked_to_project, factory: :project association :forked_to_project, factory: :project
association :forked_from_project, factory: :project association :forked_from_project, factory: :project
after(:create) do |link|
link.forked_from_project.reload
link.forked_to_project.reload
end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment