Permalink
Browse files

minor clarification to section "Test Adding Bars"

  • Loading branch information...
retroryan committed Jun 25, 2012
1 parent 7281ad4 commit f93ade447e57e059d8cd7c9e6abb7c41603f2ddd
Showing with 1 addition and 1 deletion.
  1. +1 −1 ARTICLE.md
View
@@ -297,7 +297,7 @@ Create a new test for the `addBar` controller method by creating a new file name
}
-This functional test uses a `FakeApplication` with an in-memory database. The test makes a request to the `addBar` method on the `Application` controller with a form parameter named `name` and a value of `FooBar`. Since success in this method is simply a redirect to the `index` page the status is checked to be `SEE_OTHER` and the redirect location is checked to be the URL of the `index` page. Run this test with either `play test` or `play ~test` if you'd like to keep running tests when your code changes.
+This functional test uses a `FakeApplication` with an in-memory database. The test makes a request to the `addBar` method on the `Application` controller with a form parameter named `name` and a value of `FooBar`. Since success in this method is simply a redirect to the `index` page the status is checked to be the HTTP status code `SEE_OTHER` and the redirect location is checked to be the URL of the `index` page. Run this test with either `play test` or `play ~test` if you'd like to keep running tests when your code changes.
Get Bars as JSON

0 comments on commit f93ade4

Please sign in to comment.