remove now useless biz_dev module
This commit is contained in:
parent
a42f85ef05
commit
2ea6a5d25c
3 changed files with 0 additions and 33 deletions
|
@ -1,8 +0,0 @@
|
|||
module BizDev
|
||||
NAME = "Équipe DS"
|
||||
PIPEDRIVE_ID = 6019737
|
||||
|
||||
def self.full_name(administration_id)
|
||||
NAME
|
||||
end
|
||||
end
|
|
@ -97,9 +97,6 @@ CRISP_CLIENT_KEY=""
|
|||
# https://api.gouv.fr/api/api-entreprise.html
|
||||
API_ENTREPRISE_KEY=""
|
||||
|
||||
# External service: CRM for following admin accounts pipeline (specific to démarches-simplifiées.fr)
|
||||
PIPEDRIVE_KEY=""
|
||||
|
||||
# Networks bypassing the email login token that verifies new devices, and rack-attack throttling
|
||||
TRUSTED_NETWORKS=""
|
||||
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
describe BizDev, lib: true do
|
||||
let(:first_biz_dev_id) { BizDev::PIPEDRIVE_ID }
|
||||
let(:non_biz_dev_id) { first_biz_dev_id - 1 }
|
||||
|
||||
it { expect(BizDev::PIPEDRIVE_ID).not_to eq(non_biz_dev_id) }
|
||||
|
||||
describe '#full_name' do
|
||||
subject { described_class.full_name(administration_id) }
|
||||
|
||||
context 'when administration is a business developer' do
|
||||
let(:administration_id) { first_biz_dev_id }
|
||||
|
||||
it { is_expected.not_to be_empty }
|
||||
end
|
||||
|
||||
context 'when administration is not a business developer' do
|
||||
let(:administration_id) { non_biz_dev_id }
|
||||
|
||||
it { is_expected.not_to be_empty }
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Reference in a new issue