Created
March 15, 2013 19:47
-
-
Save jmarnold/5172582 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TestFixture] | |
public class installation_plan_for_package_with_existing_dependencies_with_floating_updates | |
{ | |
private InstallationPlan thePlan; | |
[SetUp] | |
public void SetUp() | |
{ | |
thePlan = InstallationScenario.For("FubuMVC.Json", scenario => | |
{ | |
scenario.AddRemoteDependency("Newtonsoft.Json", "4.5.9"); | |
scenario.AddLocalDependency("Newtonsoft.Json", "4.5.1", UpdateMode.Fixed); | |
}); | |
} | |
[Test] | |
public void no_packages_to_install() | |
{ | |
thePlan.Installations.ShouldHaveCount(0); | |
} | |
[Test] | |
public void updates_the_local_dependency() | |
{ | |
thePlan.Updates.ShouldHaveTheSameDependenciesAs("Newtonsoft.Json"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment