Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require "minitest/autorun"
- require File.expand_path("blog", "models")
- class BlogTest < MiniTest::Unit::TestCase
- def test_posts_directory_exists
- blog = Blog.new
- assert Dir.exists?(blog.posts_directory)
- end
- end
Add Comment
Please, Sign In to add comment