1 2 3 4 5 6 7 8
require "minitest/autorun" require_relative "../lib/textkit" class WordsTest < Minitest::Test def test_slugify assert_equal "hello-world", Textkit::Words.slugify("Hello, World!") end end