2018-11-11 10:12:43 -06:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'test_helper'
|
|
|
|
|
|
|
|
class BlogTest < ActiveSupport::TestCase
|
2018-12-07 13:10:49 -06:00
|
|
|
test 'has author' do
|
|
|
|
blog = blogs(:author1)
|
|
|
|
|
|
|
|
assert blog.author.present?
|
|
|
|
end
|
2018-11-11 10:12:43 -06:00
|
|
|
end
|