From 0e85b59f62b5413fa4d4f2bd680b5fec62dbba20 Mon Sep 17 00:00:00 2001 From: Rob Reynolds Date: Mon, 29 Jun 2015 10:18:44 -0500 Subject: [PATCH] (specs) LocalOnly logic moved closer to call This should be reimplemented in NugetService once specs are available. --- .../commands/ChocolateyListCommandSpecs.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/chocolatey.tests/infrastructure.app/commands/ChocolateyListCommandSpecs.cs b/src/chocolatey.tests/infrastructure.app/commands/ChocolateyListCommandSpecs.cs index 5603cb241b..c4b2499c7b 100644 --- a/src/chocolatey.tests/infrastructure.app/commands/ChocolateyListCommandSpecs.cs +++ b/src/chocolatey.tests/infrastructure.app/commands/ChocolateyListCommandSpecs.cs @@ -199,14 +199,6 @@ public void should_leave_source_as_set() because(); configuration.Sources.ShouldEqual(source); } - - [Fact] - public void should_set_source_to_local_location_when_localonly_is_true() - { - configuration.ListCommand.LocalOnly = true; - because(); - configuration.Sources.ShouldEqual(ApplicationParameters.PackagesLocation); - } } public class when_noop_is_called : ChocolateyListCommandSpecsBase