lib/meibo/factory_bot/enrollment.rb in meibo-0.16.0 vs lib/meibo/factory_bot/enrollment.rb in meibo-0.17.0
- old
+ new
@@ -1,11 +1,11 @@
# frozen_string_literal: true
-require 'factory_bot'
-require 'securerandom'
+require "factory_bot"
+require "securerandom"
FactoryBot.define do
- factory :meibo_enrollment, class: 'Meibo::Enrollment' do
+ factory :meibo_enrollment, class: "Meibo::Enrollment" do
initialize_with { new(**attributes) }
transient do
classroom { nil }
school { nil }