Fix FactoryBot deprecation warnings

This commit is contained in:
Tom Hughes 2018-08-28 19:12:01 +01:00
parent 6c597f614b
commit 06915a77b5
22 changed files with 70 additions and 70 deletions

View file

@ -1,7 +1,7 @@
FactoryBot.define do
factory :changeset_comment do
sequence(:body) { |n| "Changeset comment #{n}" }
visible true
visible { true }
changeset