12 lines
188 B
Ruby
12 lines
188 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'test_helper'
|
|
|
|
class BlogTest < ActiveSupport::TestCase
|
|
test 'has author' do
|
|
blog = blogs(:author1)
|
|
|
|
assert blog.author.present?
|
|
end
|
|
end
|