Skip to content
Browse files

Fixed test.

  • Loading branch information...
1 parent 03866aa commit 8d9ec96446816cb52003387e0d815b75c55379d1 Graham Hay committed Nov 16, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/OpenRasta.Tests.Unit/UriTemplate_Specification.cs
View
4 src/core/OpenRasta.Tests.Unit/UriTemplate_Specification.cs
@@ -260,10 +260,10 @@ public void a_url_matching_multiple_query_parameters_should_match()
[Test]
public void a_parameter_different_by_last_letter_to_query_parameters_should_not_match()
{
- var template = new OpenRasta.UriTemplate("/test?query1={test}&query2={test2}");
+ var template = new UriTemplate("/test?query1={test}&query2={test2}");
var match = template.Match(new Uri("http://localhost"), new Uri("http://localhost/test?query1=test1&query3=test2"));
match.ShouldNotBeNull();
- match.BoundVariables.Count.ShouldBe(1);
+ match.BoundQueryParameters.Count.ShouldBe(1);
match.QueryParameters.Count.ShouldBe(2);
}

0 comments on commit 8d9ec96

Please sign in to comment.
Something went wrong with that request. Please try again.