Bump fabrication

This commit is contained in:
Benjamin Neff 2023-06-11 16:24:05 +02:00
parent 9a83345ab7
commit 7b03c436d9
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
2 changed files with 6 additions and 6 deletions

View file

@ -52,7 +52,7 @@ GEM
erubi (1.12.0)
ethon (0.15.0)
ffi (>= 1.15.0)
fabrication (2.29.0)
fabrication (2.30.0)
faraday (2.7.6)
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)

View file

@ -19,26 +19,26 @@ Fabricator(:user, class_name: Person) do
end
Fabricator(:post, class_name: Entity) do
on_init { init_with("Post") }
initialize_with { resolved_class.new("Post") }
author { Fabricate(:person) }
end
Fabricator(:comment, class_name: Entity) do
on_init { init_with("Comment") }
initialize_with { resolved_class.new("Comment") }
author { Fabricate(:person) }
end
Fabricator(:poll, class_name: Entity) do
on_init { init_with("Poll") }
initialize_with { resolved_class.new("Poll") }
author { Fabricate(:person) }
end
Fabricator(:event, class_name: Entity) do
on_init { init_with("Event") }
initialize_with { resolved_class.new("Event") }
author { Fabricate(:person) }
end
Fabricator(:conversation, class_name: Entity) do
on_init { init_with("Conversation") }
initialize_with { resolved_class.new("Conversation") }
author { Fabricate(:person) }
end