Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the "validation" assignment tests whether "/" is a 404, despite not being an assignment requirement #130

Open
Pomax opened this issue Jan 13, 2015 · 2 comments
Milestone

Comments

@Pomax
Copy link

Pomax commented Jan 13, 2015

The validation assignment currently fails if the / route serves actual content, despite this not being relevant to the assignment of making a /chickens/{breed} route. There is no good reason for this failure: especially if people are extending their program as they run through the assignments, the / route will still contain the ROT13 exercise output. Which should be fine.

@dylancwood
Copy link
Contributor

I've submitted a PR (#141) that updates the url used to run/verify this exercise.

@jackmcmorrow
Copy link

Following code passes this assingment:

Hapi = require('hapi');
var server = new Hapi.Server();

server.connection({
    host: 'localhost',
    port: Number(process.argv[2] || 8080)
})

server.start();

@fiveisprime fiveisprime modified the milestones: 1.0.3, 3.0.1 Aug 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants