Skip to content

Conversation

@adamxlowe
Copy link

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

train_spec.rb Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In newer versions of RSpec, you should use "double" instead of "mock". The double indicates it's a "test double", meaning an object that doesn't mean much.

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

Successfully merging this pull request may close these issues.

2 participants