Skip to content

Commit

Permalink
Slight refactor to rspec example string
Browse files Browse the repository at this point in the history
  • Loading branch information
mdehoog authored and saghm committed Sep 12, 2018
1 parent 903bfbe commit 78607ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/mongoid/persistable/settable_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@
church.set('location.address.city' => 12345)
end

it 'does not reset the nested hash' do
it 'updates the nested value to the correct value' do
expect(church.name).to eq('Church1')
expect(church.location).to eql({'address' => {'city' => 12345, 'street' => 'Yorckstr'}})
end
Expand Down

0 comments on commit 78607ba

Please sign in to comment.