Skip to content

Commit

Permalink
Correct test for new Robeaux endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
deadprogram committed Oct 26, 2015
1 parent ef0652a commit 5f25282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ func TestRobeaux(t *testing.T) {
a.ServeHTTP(response, request)
gobot.Assert(t, response.Code, 200)
// js assets
request, _ = http.NewRequest("GET", "/js/app.js", nil)
request, _ = http.NewRequest("GET", "/js/script.js", nil)
response = httptest.NewRecorder()
a.ServeHTTP(response, request)
gobot.Assert(t, response.Code, 200)
// css assets
request, _ = http.NewRequest("GET", "/css/style.css", nil)
request, _ = http.NewRequest("GET", "/css/application.css", nil)
response = httptest.NewRecorder()
a.ServeHTTP(response, request)
gobot.Assert(t, response.Code, 200)
Expand Down

0 comments on commit 5f25282

Please sign in to comment.