No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
train.rb
train_minitest_spec.rb
train_spec.rb
train_test.rb

README.md

Train

TDD style message expectations; in both RSpec and MiniTest

Your Assignment

In most circumstances like this, there's a sort of MessageBoard. Let's create the idea of a MessageBoard class that both the engineer and the conductor know about.

  1. When the conductor sees trouble, the conductor tells the message_board to slow down
  2. When the engineer slows down, the engineer tells the message_board confirm_slow_down

Use whichever mocking tool you liked the best or are interested in. If you don't know what to choose, go with RSpec.

Copyright: Jesse Wolgamott, MIT License (See LICENSE)