Skip to content

Conversation

@ellesuzuki
Copy link

No description provided.

Copy link
Member

Choose a reason for hiding this comment

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

I like the respond_to test here. It doesn't actually test that the battleship IS something though ... So maybe something like:


def test_has_battleship
  battleship = Object.new
  admiral = Admiral.new(battleship)
  assert_equal battleship, admiral.battleship
end

@jwo
Copy link
Member

jwo commented Feb 16, 2013

Looks great! Yay for pandas! 🐼

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