Skip to content

Commit

Permalink
Replace staff_account activation logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mononoken committed Oct 20, 2024
1 parent 35d0728 commit f9488c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class Organizations::FostererInvitationPolicyTest < ActiveSupport::TestCase

context "when staff account is deactivated" do
setup do
@user.staff_account.deactivate
@user.deactivate
end

should "return false" do
Expand Down Expand Up @@ -297,7 +297,7 @@ class Organizations::FostererInvitationPolicyTest < ActiveSupport::TestCase

context "when staff account is deactivated" do
setup do
@user.staff_account.deactivate
@user.deactivate
end

should "return false" do
Expand Down

0 comments on commit f9488c3

Please sign in to comment.