BigW Consortium Gitlab

Commit 70a75f9b by Bob Van Landuyt Committed by Regis

Add the `with_avatar` trait to projects factory

parent 1cab00ff
......@@ -32,6 +32,10 @@ FactoryGirl.define do
request_access_enabled true
end
trait :with_avatar do
avatar { File.open(Rails.root.join('spec/fixtures/dk.png')) }
end
trait :repository do
# no-op... for now!
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