Permalink
Browse files

Fixed ValidateModelStateAttribute specs.

  • Loading branch information...
benfoster committed Mar 6, 2013
1 parent 51d5232 commit 924fbfbb507e90e1158e8e74eaae377dd1ca8fdc
@@ -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")]
@@ -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""]}");
}
}
}

0 comments on commit 924fbfb

Please sign in to comment.