aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlban Peignier2018-04-27 00:03:11 +0200
committerAlban Peignier2018-04-27 00:03:11 +0200
commit0c99f7eda9f0346c49471703f9a245936bab64bb (patch)
tree29d5a4fc0f52534c54dec3fb51da46afbcb8eab8
parent857f49aac35995b5888ace19df5849d93f59fd96 (diff)
downloadchouette-core-0c99f7eda9f0346c49471703f9a245936bab64bb.tar.bz2
Use truncation in ReferentialCloningWorker spec to find the created referential outside of the transaction. Refs #68336833-clone-by-command
-rw-r--r--spec/workers/referential_cloning_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/referential_cloning_worker_spec.rb b/spec/workers/referential_cloning_worker_spec.rb
index 74e83c3b2..d22df9710 100644
--- a/spec/workers/referential_cloning_worker_spec.rb
+++ b/spec/workers/referential_cloning_worker_spec.rb
@@ -17,7 +17,7 @@ RSpec.describe ReferentialCloningWorker do
end
context 'with existing Referential' do
- it "preserve existing data" do
+ it "preserve existing data", truncation: true do
source_referential = create :referential
source_referential.switch