Skip to content

Commit

Permalink
English
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisandreae committed Jul 4, 2019
1 parent 9b9129b commit 29d03db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/view_model/access_control_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ def new_model
model_class.new(name: 'a', child: child_model_class.new(name: 'z'))
end

it 'records an change to child without a tree change' do
it 'records a change to child without a tree change' do
vm, ctx = alter_by_view!(viewmodel_class, create_model!) do |view, refs|
view['child'] = { '_ref' => 'cref' }
refs.clear['cref'] = { '_type' => child_view_name, 'name' => 'b' }
Expand Down Expand Up @@ -695,7 +695,7 @@ def new_model
model_class.new(name: 'a', child: child_model_class.new(name: 'z'))
end

it 'records an change to child with referenced tree change' do
it 'records a change to child with referenced tree change' do
vm, ctx = alter_by_view!(viewmodel_class, create_model!) do |view, refs|
view['child'] = { '_ref' => 'cref' }
refs.clear['cref'] = { '_type' => child_view_name, 'name' => 'b' }
Expand Down

0 comments on commit 29d03db

Please sign in to comment.