1
0
Fork 0

Add interactor DestroyContactList

This commit is contained in:
Alex Kotov 2019-08-14 19:34:55 +05:00
parent acc901e714
commit 8a416a15f0
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# frozen_string_literal: true
class DestroyContactList
include Interactor
def call
context.destroyable_contact_list.destroy!
end
end

View File

@ -0,0 +1,7 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe DestroyContactList do
pending "add some examples to (or delete) #{__FILE__}"
end