Commit fe804e23133b87a871466a0ec4de2784d910c88e
1 parent
45627d84
Exists in
master
Corrigindo chamada para servidor no teste
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/zombie-test.js
| @@ -9,7 +9,7 @@ describe("Testes de conteúdo de HTML da barra", function() { | @@ -9,7 +9,7 @@ describe("Testes de conteúdo de HTML da barra", function() { | ||
| 9 | var server, browser, barraUrl; | 9 | var server, browser, barraUrl; |
| 10 | barraUrl = "http://localhost:3000/"; | 10 | barraUrl = "http://localhost:3000/"; |
| 11 | before(function() { | 11 | before(function() { |
| 12 | - //server = app.listen(3000); | 12 | + server = app.listen(3000); |
| 13 | }); | 13 | }); |
| 14 | 14 | ||
| 15 | beforeEach(function() { | 15 | beforeEach(function() { |
| @@ -19,7 +19,7 @@ describe("Testes de conteúdo de HTML da barra", function() { | @@ -19,7 +19,7 @@ describe("Testes de conteúdo de HTML da barra", function() { | ||
| 19 | 19 | ||
| 20 | after(function() { | 20 | after(function() { |
| 21 | // depois dos testes fechar o servidor | 21 | // depois dos testes fechar o servidor |
| 22 | - //server.close(); | 22 | + server.close(); |
| 23 | }); | 23 | }); |
| 24 | 24 | ||
| 25 | it("trocar o conteúdo do #barra-brasil pelo correto", function(done) { | 25 | it("trocar o conteúdo do #barra-brasil pelo correto", function(done) { |