Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

Commit

Permalink
fix test module definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
flofreud committed Jul 13, 2014
1 parent 2679caf commit da12aa4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions PsGet.tests.ps1
Expand Up @@ -127,20 +127,20 @@ Describe 'Install-Module' {
Context 'When modules from centralized PsGet repository' {
Invoke-InSandbox {
It 'Should install module from repo' {
Install-Module HelloWorld -DirectoryUrl 'https://github.com/psget/psget/raw/master/TestModules/Directory.xml' -Verbose:$verbose
Install-Module HelloWorld -DirectoryUrl:"file://$here\TestModules\Directory.xml" -Verbose:$verbose
'HelloWorld' | Should BeInstalled
Drop-Module -Module 'HelloWorld'
}

It 'Should update installed module' {
Install-Module HelloWorld -DirectoryUrl 'https://github.com/psget/psget/raw/master/TestModules/Directory.xml' -Verbose:$verbose
update-module HelloWorld -DirectoryUrl 'https://github.com/psget/psget/raw/master/TestModules/Directory.xml' -Verbose:$verbose
Install-Module HelloWorld -DirectoryUrl:"file://$here\TestModules\Directory.xml" -Verbose:$verbose
update-module HelloWorld -DirectoryUrl:"file://$here\TestModules\Directory.xml" -Verbose:$verbose
'HelloWorld' | Should BeInstalled
Drop-Module -Module 'HelloWorld'
}

It 'Should install zipped module from repo' {
Install-Module HelloWorldZip -DirectoryUrl 'https://github.com/psget/psget/raw/master/TestModules/Directory.xml' -Verbose:$verbose
Install-Module HelloWorldZip -DirectoryUrl:"file://$here\TestModules\Directory.xml" -Verbose:$verbose
'HelloWorldZip' | Should BeInstalled
Drop-Module -Module 'HelloWorldZip'
}
Expand Down
1 change: 0 additions & 1 deletion TestModules/Directory.xml
Expand Up @@ -27,7 +27,6 @@
</author>
<content type="application/zip" src="https://github.com/psget/psget/raw/master/TestModules/HelloWorld.zip" />
<psget:properties>
<psget:ModuleName>HelloWorld</psget:ModuleName>
<psget:ProjectUrl>https://github.com/chaliy/psget/</psget:ProjectUrl>
</psget:properties>
</entry>
Expand Down

0 comments on commit da12aa4

Please sign in to comment.