Skip to content

Commit b2b004a

Browse files
committed
Fix missing assertion in test
Resolves: ``` Test is missing assertions: `test_destroying_a_degree_period_also_destroys_its_dependent_archivematica_accession` ```
1 parent 7f1333e commit b2b004a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/models/degree_period_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class DegreePeriodTest < ActiveSupport::TestCase
8484
archivematica_accession_count = ArchivematicaAccession.count
8585
d.destroy
8686
new_archivematica_accession_count = ArchivematicaAccession.count
87-
new_archivematica_accession_count == archivematica_accession_count - 1
87+
assert_equal(new_archivematica_accession_count, archivematica_accession_count - 1)
8888
end
8989

9090
test 'a degree period cannot have the same grad_month and grad_year as an existing degree period' do

0 commit comments

Comments
 (0)