Prepare to add edit_lead spec

This commit is contained in:
CactusPuppy 2021-03-19 10:11:18 -07:00
parent bbad082c21
commit 09becbc3e0
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
2 changed files with 8 additions and 0 deletions

View file

@ -29,6 +29,10 @@ module External
nil nil
end end
def edit_lead(user, add_tags, remove_tags)
puts 'PENDING'
end
def delete_lead(user) def delete_lead(user)
email_hash = Digest::MD5.hexdigest user.email email_hash = Digest::MD5.hexdigest user.email
uri = URI(MAILBLUSTER_URL + email_hash) uri = URI(MAILBLUSTER_URL + email_hash)

View file

@ -38,6 +38,10 @@ describe External::MailblusterHelper, type: :helper do
end end
end end
describe 'edit_lead' do
pending
end
describe 'delete_lead' do describe 'delete_lead' do
it 'correctly requests the right URL and gets a valid response' do it 'correctly requests the right URL and gets a valid response' do
email_hash = Digest::MD5.hexdigest user.email email_hash = Digest::MD5.hexdigest user.email