```ruby
module Pageflow
  FactoryBot.define do
    factory :published_entry, class: PublishedEntry do
      transient do
        type_name { nil }
      end

      initialize_with do
        PublishedEntry.new(create(:entry,
                                  :published,
                                  type_name: type_name))
      end

      to_create { |published_entry| published_entry.entry.save! }
    end
  end
end
```

Fix scrolled entry json seed spec
user
```ruby
module Pageflow
  FactoryBot.define do
    factory :published_entry, class: PublishedEntry do
      transient do
        type_name { 'paged' }
      end

      initialize_with do
        PublishedEntry.new(create(:entry,
                                  :published,
                                  type_name: type_name))
      end

      to_create { |published_entry| published_entry.entry.save! }
    end
  end
end
```
assistant