Skip to content

Commit

Permalink
Improve service unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie authored and JamieCleare2525 committed Dec 24, 2024
1 parent 12bc74f commit 64cd360
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/services/claims/claim/sampling/not_approved_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
end

it "skips the mentor training not associated with the claim" do
expect { call }.not_to change(mentor_training_2, :rejected).from(false)
expect { call }.not_to change(mentor_training_1, :rejected).from(false)
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
end

it "skips the mentor training not associated with the claim" do
expect { call }.not_to change(mentor_training_2, :not_assured).from(false)
expect { call }.not_to change(mentor_training_1, :not_assured).from(false)
end
end
end
Expand Down

0 comments on commit 64cd360

Please sign in to comment.