Skip to content

Commit

Permalink
Updated the test with counts
Browse files Browse the repository at this point in the history
  • Loading branch information
yoldas committed Dec 11, 2023
1 parent e69ec21 commit c044880
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
task_invoke
plate_creator.reload # Reload to get the updated parent purposes
expect(plate_creator.parent_plate_purposes).to include(source_purpose)
expect(plate_creator.parent_plate_purposes.where(name: source_purpose_name).count).to eq(1)
end
end

Expand All @@ -44,6 +45,7 @@
task_invoke
plate_creator.reload # Reload to get the updated parent purposes
expect(plate_creator.parent_plate_purposes).to include(source_purpose)
expect(plate_creator.parent_plate_purposes.where(name: source_purpose_name).count).to eq(1)
end
end

Expand Down

0 comments on commit c044880

Please sign in to comment.