eBooru/test/factories/post_set.rb
Earlopain fc7d84affd
[RuboCop] Enable Style/FrozenStringLiteralComment
This reduces allocations on the posts page by about 5%, from basic testing
2024-02-25 18:15:55 +01:00

11 lines
242 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory(:post_set) do
creator
creator_ip_addr { "127.0.0.1" }
sequence(:name) { |n| "post_set_name_#{n}" }
sequence(:shortname) { |n| "post_set_shortname_#{n}" }
end
end