Skip to content

Commit

Permalink
Do not expect attribute setter to save the record
Browse files Browse the repository at this point in the history
  • Loading branch information
inulty-dfe committed May 23, 2024
1 parent a45b77d commit d9b9f08
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion spec/services/courses/assign_program_type_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
let(:course) { create(:course, :with_accrediting_provider) }

it 'returns :school_direct_training_programme' do
course.reload
expect(course.program_type).to eq('school_direct_training_programme')
end
end
Expand Down

0 comments on commit d9b9f08

Please sign in to comment.