Skip to content

Commit

Permalink
Cleaning up after the merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
MattHoneycutt committed Nov 27, 2011
1 parent 7f71642 commit 4aaef45
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
9 changes: 2 additions & 7 deletions SpecsFor/SpecsFor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,20 +72,15 @@ protected virtual void ConfigureContainer(IContainer container)
[TestFixtureTearDown]
public virtual void TearDown()
{
Console.WriteLine("Cleaning up specs.");

try
{
{
AfterEachSpec();
}
}
finally
{
Console.WriteLine("Checking for IDisposable...");
if (SUT != null && SUT is IDisposable)
{
Console.WriteLine("Disposing.");
((IDisposable)SUT).Dispose();
Console.WriteLine("Done!");
}
}
}
Expand Down
17 changes: 6 additions & 11 deletions SpecsFor/SpecsFor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
<ItemGroup>
<Reference Include="ExpectedObjects">
<HintPath>..\packages\ExpectedObjects.1.0.0.2\lib\ExpectedObjects.dll</HintPath>
<Reference Include="Ionic.Zip">
<HintPath>..\packages\DotNetZip.1.9.1.8\lib\net20\Ionic.Zip.dll</HintPath>
</Reference>
<Reference Include="Moq, Version=4.0.10827.0, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand All @@ -54,9 +52,6 @@
<HintPath>..\packages\structuremap.automocking.2.6.3\lib\StructureMap.AutoMocking.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
</ItemGroup>
<ItemGroup>
<Compile Include="GivenAttribute.cs" />
Expand All @@ -76,11 +71,11 @@
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project=".\targets\Microsoft.Application.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
1 change: 0 additions & 1 deletion SpecsFor/packages.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ExpectedObjects" version="1.0.0.2" />
<package id="RhinoMocks" version="3.6" />
<package id="Should" version="1.1.12.0" />
<package id="structuremap" version="2.6.3" />
<package id="structuremap.automocking" version="2.6.3" />
Expand Down

0 comments on commit 4aaef45

Please sign in to comment.