diff --git a/integrationtests/Paket.IntegrationTests/ConvertFromNuGetSpecs.fs b/integrationtests/Paket.IntegrationTests/ConvertFromNuGetSpecs.fs index 42f2b39aa6..d6a39c42b1 100644 --- a/integrationtests/Paket.IntegrationTests/ConvertFromNuGetSpecs.fs +++ b/integrationtests/Paket.IntegrationTests/ConvertFromNuGetSpecs.fs @@ -50,4 +50,11 @@ let ``#1225 should convert simple C# project with non-matching framework restric requirement2.Name |> shouldEqual (PackageName "Newtonsoft.Json") requirement2.VersionRequirement.ToString() |> shouldEqual "7.0.1" requirement2.ResolverStrategy |> shouldEqual None - requirement2.Settings.FrameworkRestrictions |> shouldEqual [FrameworkRestriction.AtLeast(FrameworkIdentifier.DotNetFramework(FrameworkVersion.V4_Client))] \ No newline at end of file + requirement2.Settings.FrameworkRestrictions |> shouldEqual [FrameworkRestriction.AtLeast(FrameworkIdentifier.DotNetFramework(FrameworkVersion.V4_Client))] + +[] +let ``#1217 should replace packages.config files in project``() = + paket "convert-from-nuget" "i001217-convert-simple-project" |> ignore + let lockFile = LockFile.LoadFrom(Path.Combine(scenarioTempPath "i001217-convert-simple-project","paket.lock")) + let projectFile = ProjectFile.loadFromFile(Path.Combine(scenarioTempPath "i001217-convert-simple-project", "ClassLibrary1", "ClassLibrary1.csproj")) + projectFile.Document.OuterXml.Contains("packages.config") |> shouldEqual false