functions/Push-RegentSolutionChanges.Tests.ps1
# $here = Split-Path -Parent $MyInvocation.MyCommand.Path # $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path) -replace '\.Tests\.', '.' # . "$here\$sut" # Import-Module -Name Microsoft.Xrm.Data.Powershell # $RepoPath = "$(Split-Path $here -Parent)\test-data\unpacked" # # Describe "Import-RegentSolution" { # # Context "Given a config file specifying repository path TestDrive:/solutions" { # # New-Item TestDrive:\solutions -ItemType Directory # # Mock 'Get-Config' { # # [PSCustomObject]@{ # # RepositoryPath = $RepoPath; # # DefaultBranch = "master"; # # } # # } # # git init # # It "Should commit all changes successfully" { # # } # # } # # } |