<?php

use App\Models\Entry;

it('has correct fillable attributes', function () {
    $expected = [
        'title',
        'type',
        'slug',
        'description',
        'is_published',
        'is_featured',
        'published_at',
        'content',
        'call_to_action_link',
        'call_to_action_text',
        'category_id',
        'priority',
    ];

    $entry = new Entry;

    expect($entry->getFillable())->toEqual($expected);
});
