diff options
| author | Alban Peignier | 2018-04-27 00:03:11 +0200 |
|---|---|---|
| committer | Alban Peignier | 2018-04-27 00:03:11 +0200 |
| commit | 0c99f7eda9f0346c49471703f9a245936bab64bb (patch) | |
| tree | 29d5a4fc0f52534c54dec3fb51da46afbcb8eab8 /spec | |
| parent | 857f49aac35995b5888ace19df5849d93f59fd96 (diff) | |
| download | chouette-core-0c99f7eda9f0346c49471703f9a245936bab64bb.tar.bz2 | |
Use truncation in ReferentialCloningWorker spec to find the created referential outside of the transaction. Refs #68336833-clone-by-command
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/workers/referential_cloning_worker_spec.rb | 2 |
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 |
