lib/rspeckled/helpers/factories.rb in rspeckled-2.0.1 vs lib/rspeckled/helpers/factories.rb in rspeckled-2.1.0
- old
+ new
@@ -1,5 +1,11 @@
# frozen_string_literal: true
-def factory_name
- described_class.name.underscore
+module Rspeckled
+module Helpers
+module Factories
+ def factory_name
+ described_class.name.underscore
+ end
+end
+end
end