From ccd178e0df7c6302688d9ebc50a3b1b09b553045 Mon Sep 17 00:00:00 2001 From: Sean Kirby Date: Fri, 20 Nov 2020 13:42:03 -0500 Subject: [PATCH] Appease Rubocop --- spec/acceptance/vorpal/aggregate_mapper_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/acceptance/vorpal/aggregate_mapper_spec.rb b/spec/acceptance/vorpal/aggregate_mapper_spec.rb index fdd2069..0423c86 100644 --- a/spec/acceptance/vorpal/aggregate_mapper_spec.rb +++ b/spec/acceptance/vorpal/aggregate_mapper_spec.rb @@ -212,7 +212,7 @@ def initialize(id: nil, name: "", trunk: nil, environment: nil, fissures: [], br describe 'cycles' do it 'persists' do - test_mapper = configure_with_cycle + test_mapper = configure_with_cycle tree = Tree.new long_branch = Branch.new(length: 100, tree: tree) @@ -295,7 +295,7 @@ def initialize(id: nil, name: "", trunk: nil, environment: nil, fissures: [], br trunk.length = 21 - expect{ test_mapper.persist(tree) }.to_not change{ db_class_for(Trunk, test_mapper).count } + expect { test_mapper.persist(tree) }.to_not(change { db_class_for(Trunk, test_mapper).count }) end it 'only saves entities that are owned' do