Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed ValidateModelStateAttribute specs.

  • Loading branch information...
commit 924fbfbb507e90e1158e8e74eaae377dd1ca8fdc 1 parent 51d5232
@benfoster authored
View
6 src/Common/CommonAssemblyInfo.cs
@@ -10,6 +10,6 @@
[assembly: AssemblyCulture("")]
[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyVersion("1.0.2.0")]
-[assembly: AssemblyFileVersion("1.0.2.0")]
-[assembly: AssemblyInformationalVersion("1.0.2-pre")]
+[assembly: AssemblyVersion("1.0.3.0")]
+[assembly: AssemblyFileVersion("1.0.3.0")]
+[assembly: AssemblyInformationalVersion("1.0.3-pre")]
View
2  src/Specs/Fabrik.Common.Web.Specs/ValidateModelStateAttributeSpecs.cs
@@ -72,7 +72,7 @@ public class When_the_modelstate_is_invalid_and_it_is_an_AJAX_request
((HttpStatusCodeResult)actionExecutingContext.Result).StatusCode.ShouldEqual(400);
It Should_serialize_the_modelstate_errors_into_JSON = () =>
- ((HttpStatusCodeResult)actionExecutingContext.Result).StatusDescription.ShouldEqual(@"{""test"":""error""}");
+ ((HttpStatusCodeResult)actionExecutingContext.Result).StatusDescription.ShouldEqual(@"{""test"":[""error""]}");
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.