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' require 'test_helper'
class BlogTest < ActiveSupport::TestCase class BlogTest < ActiveSupport::TestCase
# test "the truth" do test 'has author' do
# assert true blog = blogs(:author1)
# end
assert blog.author.present?
end
end end