-FactoryGirl.define do
+FactoryBot.define do
factory :changeset_comment do
sequence(:body) { |n| "Changeset comment #{n}" }
- visible true
+ visible { true }
- # FIXME: needs changeset factory
- changeset_id 3
+ changeset
- association :author, :factory => :user
+ author :factory => :user
end
end