ea25e0918b
If the Sidekiq job fails for some reason, a project can be 'stuck' pending deletion. The project can't be viewed, so it shouldn't be available through the notification settings association as this will throw an exception when we try to show the link.
8 lines
137 B
Ruby
8 lines
137 B
Ruby
FactoryGirl.define do
|
|
factory :notification_setting do
|
|
source factory: :empty_project
|
|
user
|
|
level 3
|
|
events []
|
|
end
|
|
end
|