Skip to content

Commit

Permalink
moved with controller implementation to a shared location to make it …
Browse files Browse the repository at this point in the history
…easier to support .. minor property changes on with_controller .. result -> Result ... _requestCookies -> RequestCookies ... _requestHeaders -> RequestHeaders
  • Loading branch information
vurt007 committed May 22, 2012
1 parent 087f68f commit 39c368b
Show file tree
Hide file tree
Showing 9 changed files with 604 additions and 816 deletions.
9 changes: 6 additions & 3 deletions src/Snooze.Testing/MSpec/with_auto_mocking.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@

namespace Snooze.MSpec
{
public class
with_auto_mocking<TUnderTest> where TUnderTest : class
public class with_auto_mocking<TUnderTest> where TUnderTest : class
{
protected static Exception err;
protected static AutoMockContainer<TUnderTest> autoMocker;
Expand Down Expand Up @@ -39,6 +38,10 @@ protected static void InjectArray<T>(T[] objects)
protected static TUnderTest Service { get { return class_under_test; } }


Cleanup cleanup = () => { err = null; };
Cleanup cleanup = () =>
{
err = null;
autoMocker = null;
};
}
}
Loading

0 comments on commit 39c368b

Please sign in to comment.