Skip to content

hooray pandas!#3

Open
ellesuzuki wants to merge 1 commit into
RubyoffRails:masterfrom
ellesuzuki:master
Open

hooray pandas!#3
ellesuzuki wants to merge 1 commit into
RubyoffRails:masterfrom
ellesuzuki:master

Conversation

@ellesuzuki

Copy link
Copy Markdown

No description provided.

Comment thread minitest/navy_test.rb

Copy link
Copy Markdown
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

jwo commented Feb 16, 2013

Copy link
Copy Markdown
Member

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