Skip to content

Commit

Permalink
Fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
pskl committed Oct 16, 2024
1 parent e2ce8a7 commit ef04fad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/student/mappers/sygne.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ def map_schooling!(classe, student, entry)
schooling = Schooling
.find_or_initialize_by(classe: classe, student: student)
.tap { |sc| sc.assign_attributes(attributes) }
.tap(&:save!)

student.close_current_schooling! if schooling != student.current_schooling

Expand Down

0 comments on commit ef04fad

Please sign in to comment.