Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'minitest/unit'
- MiniTest::Unit.autorun
- class TestMeme < MiniTest::Unit::TestCase
- def setup
- @meme = Meme.new
- end
- def test_that_kitty_can_eat
- assert_equal "OHAI!", @meme.i_can_has_cheezburger?
- end
- def test_that_it_doesnt_not_blend
- refute_match /^no/i, @meme.does_it_blend?
- end
- end
Add Comment
Please, Sign In to add comment