Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
dfinke committed Aug 1, 2018
1 parent a099f77 commit 6792458
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DoTests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if ($null -eq (Get-Module -ListAvailable pester)) {
Install-Module -Name Pester -Repository PSGallery -Force -Scope CurrentUser
}

$result = Invoke-Pester -Script $PSScriptRoot\__tests__ -Verbose -PassThru
$result = Invoke-Pester -Script $PSScriptRoot/__tests__ -Verbose -PassThru

if ($result.FailedCount -gt 0) {
throw "$($result.FailedCount) tests failed."
Expand Down
4 changes: 3 additions & 1 deletion __tests__/nameit.tests.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Import-Module $PSScriptRoot/../NameIt.psd1
$module = Resolve-Path "$PSScriptRoot/../NameIt.psd1"

Import-Module $module

Describe "NameIT Tests" {
It "Should generate five entries" {
Expand Down

0 comments on commit 6792458

Please sign in to comment.