fixing model test
This commit is contained in:
parent
869a9fc048
commit
e516cceb1b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user