Skip to content

Commit

Permalink
adding comment on spec
Browse files Browse the repository at this point in the history
  • Loading branch information
yuenmichelle1 committed Oct 8, 2024
1 parent b751b38 commit d932fdf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/queries/count_classifications_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@
it 'adds the most recent period to the most recently pulled period counts' do
create(:classification_with_diff_workflow, classification_id: 1000, event_time: Date.new(2022, 1, 2))
expect(counts.length).to eq(1)
# the 2 classifications counted is the one created in L170 as well as diff_workflow_event classification.
expect(counts[0].count).to eq(2)
expect(counts[0].period).to eq(Date.today.at_beginning_of_year)
end
Expand Down

0 comments on commit d932fdf

Please sign in to comment.