Skip to content

Commit

Permalink
Update hello world intro
Browse files Browse the repository at this point in the history
  • Loading branch information
kytrinyx committed Jun 7, 2015
1 parent 0581d9b commit 72b6d74
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions hello-world/GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,25 @@ directory as the `hello_world_test.rb` file.

Run the test again. It will give you a new error.

# Running:

ESSS

Finished in 0.001539s, 2599.0903 runs/s, 0.0000 assertions/s.

1) Error:
HelloWorldTest#test_no_name:
NameError: uninitialized constant HelloWorldTest::HelloWorld
hello-world/hello_world_test.rb:5:in `test_no_name'

The letters `ESSS` show that there are four tests altogether,
that one of them has an error (`E`), and that three of them are skipped (`S`).

The goal is to have four passing tests, which will show as four dots: `....`.

The tests are run in randomized order, which will cause the letters to display
in random order as well.

Within the first test, we are referencing a constant named `HelloWorld` when
we say `HelloWorld.hello`. When Ruby sees a capitalized name like
`HelloWorld`, it looks it up in a big huge list of all the constants it knows about,
Expand Down

0 comments on commit 72b6d74

Please sign in to comment.