spec/support/features/pagination.rb in exposition-0.0.5.5.pre.alpha vs spec/support/features/pagination.rb in exposition-0.0.5.6.pre.alpha
- old
+ new
@@ -4,10 +4,10 @@
factory_string = factory.to_s
factory = factory_string.underscore.to_sym
factory_plural = factory_string.pluralize.underscore.to_sym
number_of_results_for_two_pages = increment + 1
results =
- FactoryGirl.
+ FactoryBot.
create_list(factory,
number_of_results_for_two_pages,
attributes)
yield