Skip to content

Commit badc571

Browse files
committed
Fix SetModuleContent tests
1 parent 405be70 commit badc571

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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" {

0 commit comments

Comments
 (0)