Prepare to add edit_lead spec
This commit is contained in:
parent
bbad082c21
commit
09becbc3e0
2 changed files with 8 additions and 0 deletions
4
app/helpers/external/mailbluster_helper.rb
vendored
4
app/helpers/external/mailbluster_helper.rb
vendored
|
|
@ -29,6 +29,10 @@ module External
|
|||
nil
|
||||
end
|
||||
|
||||
def edit_lead(user, add_tags, remove_tags)
|
||||
puts 'PENDING'
|
||||
end
|
||||
|
||||
def delete_lead(user)
|
||||
email_hash = Digest::MD5.hexdigest user.email
|
||||
uri = URI(MAILBLUSTER_URL + email_hash)
|
||||
|
|
|
|||
|
|
@ -38,6 +38,10 @@ describe External::MailblusterHelper, type: :helper do
|
|||
end
|
||||
end
|
||||
|
||||
describe 'edit_lead' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe 'delete_lead' do
|
||||
it 'correctly requests the right URL and gets a valid response' do
|
||||
email_hash = Digest::MD5.hexdigest user.email
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue