Skip to content

Instantly share code, notes, and snippets.

@staszek
Created September 12, 2012 12:27
Show Gist options
  • Save staszek/3706288 to your computer and use it in GitHub Desktop.
Save staszek/3706288 to your computer and use it in GitHub Desktop.
require 'test/unit'
class ArticleTest < Test::Unit::TestCase
def test_initialization
end
def test_initialization_with_anonymous_author
end
def test_liking
end
def test_disliking
end
def test_points
end
def test_long_lines
end
def test_truncate
end
def test_truncate_when_limit_is_longer_then_body
end
def test_truncate_when_limit_is_same_as_to_body_length
end
def test_length
end
def test_votes
end
def test_contain
end
end
class ArticlesFileSystemTest < Test::Unit::TestCase
def test_loading
end
def test_saving
end
end
class WebPageTest < Test::Unit::TestCase
def test_new_without_load
end
def test_new_article
end
def test_longest_article
end
def test_best_articles
end
def test_best_article
end
def test_best_article_exception_when_no_articles_can_be_found
end
def test_worst_articles
end
def test_worst_article
end
def test_worst_article_exception_when_no_articles_can_be_found
end
def test_most_controversial_articles
end
def test_votes
end
def test_authors
end
def test_authors_statistics
end
def test_best_author
end
def test_search
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment