Sha256: 834330d8379823e9e68faa80e8bd635193e40c474ac2c37363825d421de1bd2d
Contents?: true
Size: 489 Bytes
Versions: 6
Compression:
Stored size: 489 Bytes
Contents
require 'minitest/unit' class Meme def i_can_has_cheezburger? "OHAI!" end def will_it_blend? "YES!" end end 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_will_not_blend refute_match /^maybe/i, @meme.will_it_blend? refute_match /^no/i, @meme.will_it_blend? refute_match /^lolz/i, @meme.will_it_blend? end end
Version data entries
6 entries across 6 versions & 1 rubygems