fixing model test

This commit is contained in:
Mark Moser 2018-12-07 13:10:49 -06:00
parent 869a9fc048
commit e516cceb1b

View File

@ -3,7 +3,9 @@
require 'test_helper'
class BlogTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
test 'has author' do
blog = blogs(:author1)
assert blog.author.present?
end
end