Skip to content

Commit

Permalink
fixed a rather long standing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
smsohan committed Mar 3, 2011
1 parent 283d48f commit 4a57509
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Mvc.Mailer.Test/MailerBaseTest.cs
Expand Up @@ -225,6 +225,9 @@ public void Test_IsTestModeEnabled()
{
MailerBase.IsTestModeEnabled = true;
Assert.IsTrue(MailerBase.IsTestModeEnabled);
MailerBase.IsTestModeEnabled = false;
Assert.IsFalse(MailerBase.IsTestModeEnabled);

}


Expand Down
2 changes: 1 addition & 1 deletion Mvc.Mailer/MailerBase.cs
Expand Up @@ -206,7 +206,7 @@ public virtual HttpContextBase CurrentHttpContext
public static bool IsTestModeEnabled
{
get { return _isTestModeEnabled; }
set { _isTestModeEnabled = true; }
set { _isTestModeEnabled = value; }
}

/// <summary>
Expand Down
Binary file modified MvcMailer.suo
Binary file not shown.

0 comments on commit 4a57509

Please sign in to comment.