Skip to content

Commit

Permalink
(maint) fixup specs
Browse files Browse the repository at this point in the history
These specs are related to no environment variable existing in Linux, so
it doesn't expand on mono for specs. It should match what we changed
the specs to use.
  • Loading branch information
ferventcoder committed Jul 30, 2015
1 parent d8943f2 commit 584fc2d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public override void Context()
public class when_powershellExecutor_is_searching_for_powershell_locations_and_all_locations_exist : PowerShellExecutorSpecsBase
{
private string result = string.Empty;
private readonly string expected = Environment.ExpandEnvironmentVariables("%windir%\\SysNative\\WindowsPowerShell\\v1.0\\powershell.exe");
private readonly string expected = Environment.ExpandEnvironmentVariables("%systemroot%\\SysNative\\WindowsPowerShell\\v1.0\\powershell.exe");

public override void Context()
{
Expand Down Expand Up @@ -73,7 +73,7 @@ public void should_return_the_sysnative_path()
public class when_powershellExecutor_is_searching_for_powershell_locations_there_is_no_sysnative : PowerShellExecutorSpecsBase
{
private string result = string.Empty;
private readonly string expected = Environment.ExpandEnvironmentVariables("%windir%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe");
private readonly string expected = Environment.ExpandEnvironmentVariables("%systemroot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe");

public override void Context()
{
Expand Down

0 comments on commit 584fc2d

Please sign in to comment.