From d8d6d96121183c8fdc74cbbd45c709cc581f65b0 Mon Sep 17 00:00:00 2001 From: Attila Vecerek Date: Mon, 20 Feb 2017 12:16:36 +0100 Subject: [PATCH] Add tenant project factory --- spec/factories/tenant.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/factories/tenant.rb b/spec/factories/tenant.rb index e6a94f69aa3..45fd5d65a16 100644 --- a/spec/factories/tenant.rb +++ b/spec/factories/tenant.rb @@ -8,4 +8,8 @@ factory :tenant_with_cloud_tenant, :parent => :tenant do source { FactoryGirl.create(:cloud_tenant) } end + + factory :tenant_project, :parent => :tenant do + divisible false + end end