Permalink
Browse files

fix for issue #4 same as before

  • Loading branch information...
1 parent 1067f74 commit b4631cb6becf9e7968a77f653ea9026d2b76e724 @buildmaster committed Feb 1, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 Tests/OAuth.MVC.Tests/Results/OAuthExceptionResultSpecifications.cs
@@ -5,6 +5,7 @@
using System.Web.Routing;
using OAuth.Core;
using OAuth.Core.Interfaces;
+using OAuth.MVC.Library;
using OAuth.MVC.Library.Results;
using Rhino.Mocks;
using Xunit;
@@ -86,7 +87,7 @@ public void return_body_should_be_set_to_advice()
[Fact]
public void oauth_header_should_be_set()
{
- Response.AssertWasCalled(response=>response.AddHeader("WWW-Authenticate",String.Format("OAuth Realm=\"{0}\"",Realm)));
+ Response.AssertWasCalled(response=>response.AddHeader("WWW-Authenticate",String.Format("OAuth Realm=\"{0}\"",Settings.Default.Realm)));
}
public override OAuthException Exception
{

0 comments on commit b4631cb

Please sign in to comment.