Skip to content

Commit

Permalink
Appease Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
sskirby committed Nov 20, 2020
1 parent 0cb9b31 commit ccd178e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/acceptance/vorpal/aggregate_mapper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ccd178e

Please sign in to comment.