Skip to content

Commit

Permalink
A few options of the url fetch service covered as well
Browse files Browse the repository at this point in the history
  • Loading branch information
glaforge committed Jan 11, 2011
1 parent 281dd45 commit de4fa6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class UrlFetchServiceEnhancementsTest extends GroovyTestCase {

void testGetGaelykHomePageAndCheckResponseHeaders() {
use (GaelykCategory) {
HTTPResponse response = gaelyk.get(deadline: 30)
HTTPResponse response = gaelyk.get(deadline: 30, allowTruncate: true)

assert response.responseCode == 200

Expand All @@ -71,7 +71,7 @@ class UrlFetchServiceEnhancementsTest extends GroovyTestCase {

void testPostForbiddenToGoogle() {
use (GaelykCategory) {
HTTPResponse response = googleSearch.delete()
HTTPResponse response = googleSearch.delete(followRedirects: false)

assert response.statusCode == 405
assert response.text.contains('The request method <code>DELETE</code> is inappropriate for the URL')
Expand Down
2 changes: 1 addition & 1 deletion website/war/WEB-INF/pages/download.gtpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ But to get you started quickly, you may use a ready-made template project which
Fixed plugins reloading issue in development mode where plugins were reloaded and ran upon each request.
No reloading happen at all, and plugins are parsed and executed only on startup of the application.
</li>
<li>Statement code coverage increased to 85%</li>
<li>Statement code coverage increased to 91%</li>
</ul>

<h3>Artifacts</h3>
Expand Down

0 comments on commit de4fa6a

Please sign in to comment.