01.13.14 - 05.11.14
RoR application is generated and complete | 10 pts |
Application responds to /messages and /messages/index URLs without error | 30 pts |
Both valid URLs results in a valid HTML5 page being displayed | 15 pts |
HTML5 page displayed for both valid URLs contains the required text | 30 pts |
Test written and passing | 15 pts |
Total | 100 pts |
For this lab, like with most first labs, you will need to create a simple 'Hello, World!' application using Rails. Your application should allow for the user to visit the URLs /messages
and /messages/index
and should in response display a well formed and valid HTML5 page that shows the words "Hello, World!" as a level one header.
You will also need to create at least one test to confirm that your application performs as required. Your test(s) will need to contain assertions confirming that both of the required url's produce a successful response and that the response contains the required text as a level one header.
To submit this lab (and all future labs) start by clearing your applications log files and temp files by running the commands rails log:clear and rails tmp:clear from the command line while in your applications root directory.
Once the log files have been cleared you can zip you entire project folder and submit it for your solution.