Skip to content

Commit

Permalink
added support evaluator dsi uid test case
Browse files Browse the repository at this point in the history
  • Loading branch information
edwin-jebaraj committed Jan 20, 2025
1 parent 4556c20 commit 3df1ead
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions spec/services/specify/create_user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -196,5 +196,16 @@
end
end
end

context "when there's a support evaluator" do
let(:dfe_sign_in_uid) { "evaluator-uid" }
let(:email) { "evaluator@example.com" }
let!(:support_evaluator) { create(:support_evaluator, email: email.downcase) }

it "updates the support evaluator to have the dsi uid of the user" do
service.call
expect(support_evaluator.reload.dsi_uid).to eq(dfe_sign_in_uid)
end
end
end
end

0 comments on commit 3df1ead

Please sign in to comment.