Use OSEM_NAME if available

This commit is contained in:
CactusPuppy 2021-03-19 10:10:33 -07:00
parent 803c98b158
commit 59cc57ebf8
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ describe External::MailblusterHelper, type: :helper do
\"email\": \"#{user.email}\",
\"subscribed\": true,
\"tags\": [
\"snapcon\"
#{ENV['OSEM_NAME'] || 'snapcon'}
],
}
}"
@ -32,7 +32,7 @@ describe External::MailblusterHelper, type: :helper do
'firstName': user.name,
'overrideExisting': true,
'subscribed': true,
'tags': ['snapcon']
'tags': [ENV['OSEM_NAME'] || 'snapcon']
}.to_json)
expect(response).to eq(response_body)
end