Skip to content

Commit

Permalink
Update spec/support/authentication_helpers.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Zach Wolfenbarger <[email protected]>
  • Loading branch information
yuenmichelle1 and zwolf authored Sep 7, 2023
1 parent ec92878 commit 4708b5d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions spec/support/authentication_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ def authenticate_with_membership!(classification_user_group, memberships, is_pan
end

def panoptes_application_client
return @panoptes_application_client if @panoptes_application_client

@panoptes_application_client = instance_double(Panoptes::Client)

@panoptes_application_client
@panoptes_application_client ||= instance_double(Panoptes::Client)
end

def user_client_with_membership(classification_user_group, memberships, is_panoptes_admin)
Expand Down

0 comments on commit 4708b5d

Please sign in to comment.