Skip to content

Commit

Permalink
fix for issue #4 same as before
Browse files Browse the repository at this point in the history
  • Loading branch information
buildmaster committed Feb 1, 2011
1 parent 1067f74 commit b4631cb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
{
Expand Down

0 comments on commit b4631cb

Please sign in to comment.