File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- Describe " JoinScript " {
1+ Describe " SetModuleContent " {
22
33 Context " Necessary Parameters" {
4- $CommandInfo = InModuleScope ModuleBuilder { Get-Command JoinScript }
4+ $CommandInfo = InModuleScope ModuleBuilder { Get-Command SetModuleContent }
55
66 It " has a mandatory string OutputPath parameter" {
77 $OutputPath = $CommandInfo.Parameters [' OutputPath' ]
@@ -54,7 +54,7 @@ Describe "JoinScript" {
5454 $Files = " TestDrive:\Private\First.ps1" ,
5555 " TestDrive:\Private\Second.ps1" ,
5656 " TestDrive:\Public\Third.ps1"
57- JoinScript - Source $Files - Output TestDrive:\Output.psm1
57+ SetModuleContent - Source $Files - Output TestDrive:\Output.psm1
5858 }
5959
6060 It " Calls get-content on every source file" {
@@ -100,7 +100,7 @@ Describe "JoinScript" {
100100 " TestDrive:\Private\Second.ps1" ,
101101 " TestDrive:\Public\Third.ps1" ,
102102 " Export-ModuleMember Stuff"
103- JoinScript - Source $Files - Output TestDrive:\Output.psm1
103+ SetModuleContent - Source $Files - Output TestDrive:\Output.psm1
104104 }
105105
106106 It " Calls get-content on every source file" {
You can’t perform that action at this time.
0 commit comments