Merge pull request #6900 from adullact/fix/6858-universign-api-url
Correction d'un test qui échouait si la variable d'environnement `UNIVERSIGN_API_URL` était définie sans valeur
This commit is contained in:
commit
ad7600a7e2
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@ describe Universign::API do
|
|||
|
||||
let(:digest) { Digest::SHA256.hexdigest("CECI EST UN HASH") }
|
||||
|
||||
before do
|
||||
stub_const("UNIVERSIGN_API_URL", "https://ws.universign.eu/tsa/post/")
|
||||
end
|
||||
|
||||
it { is_expected.not_to be_nil }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue