Tests/updateLocalDevEmail.Tests.ps1

$updateLocalDevEmailScript = Resolve-Path (Join-Path $PSScriptRoot ..\updateLocalDevEmail.ps1)
describe "test config is altered for localdev" {
    context "the databrickspath is updated" {
        it "Script will not throw. " {
            $testConfig = [PSCustomObject]@{
                dataBricksPath    = '/Users/__email__/__branch__'
            }
            {$actualConfig = & $updateLocalDevEmailScript -config $testConfig -email "lauren.ipsum@effem.com" } | Should -Not -Throw
        }
    }
}