Skip to content

Commit

Permalink
Update spec/granite/form/model/associations/reflections/embeds_many_s…
Browse files Browse the repository at this point in the history
…pec.rb

Co-authored-by: Ilya Denisov <[email protected]>
  • Loading branch information
lstrzebinczyk and id-ilych authored May 13, 2024
1 parent 567d2f6 commit cac186d
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@
before { user.projects = [other] }

specify do
expect { user.projects.concat project }.to change {
user.projects
}.from([other]).to([other, project])
expect { user.projects.concat project }
.to change { user.projects }
.from([other])
.to([other, project])
end
end
end
Expand Down

0 comments on commit cac186d

Please sign in to comment.