spec/support/factories.rb in factory_bot-preload-0.1.1 vs spec/support/factories.rb in factory_bot-preload-0.2.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
FactoryBot.define do
sequence(:email) {|n| "john#{n}@doe.com" }
factory :user do
name { "John Doe" }