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