Skip to content

sprestage/my_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minitest project

This is a minimal rails app created while learning how to use BDD with MiniSpec.

Use BDD to create a ruby class with an instance variable containing a welcome message.

Create a test to browse to google and test the web search functionality.

Output a welcome message via HTML and then test for it's presence on the page.

#HERE IS THE FINAL TEST RUN:

susanmaclaptop:my_project susan$ rake Run options: --seed 3442

/# Running tests:

....

Finished tests in 2.831635s, 1.4126 tests/s, 3.5315 assertions/s.

4 tests, 10 assertions, 0 failures, 0 errors, 0 skips susanmaclaptop:my_project susan$

#INTERESTING NOTES:

  1. To use the script serve.sh, simple "source serve.sh" in the shell where you will run the tiny server.

About

Simple rails app with welcome message. Tests for presence of welcome message. Also tests browsing to google and performing a web search.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors