Skip to content

Commit

Permalink
(spec) don't allow interactive windows in specs
Browse files Browse the repository at this point in the history
This keeps boxes from popping up during integration tests.
  • Loading branch information
ferventcoder committed Jun 26, 2015
1 parent 8edaa75 commit e4daf2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/chocolatey.tests.integration/Scenario.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ namespace chocolatey.tests.integration
using chocolatey.infrastructure.app.domain;
using chocolatey.infrastructure.app.nuget;
using chocolatey.infrastructure.app.services;
using chocolatey.infrastructure.commands;
using chocolatey.infrastructure.filesystem;

public class Scenario
Expand Down Expand Up @@ -67,6 +68,8 @@ public static void reset(ChocolateyConfiguration config)
_fileSystem.create_directory(backupPackagesPath);
_fileSystem.create_directory(_fileSystem.combine_paths(get_top_level(), ".chocolatey"));
_fileSystem.create_directory(_fileSystem.combine_paths(get_top_level(), "extensions"));

PowershellExecutor.AllowUseWindow = false;
}

public static void add_packages_to_source_location(ChocolateyConfiguration config, string pattern)
Expand Down

0 comments on commit e4daf2d

Please sign in to comment.