spec/support/generator_spec_helpers.rb in clearance-1.10.1 vs spec/support/generator_spec_helpers.rb in clearance-1.11.0
- old
+ new
@@ -7,9 +7,13 @@
def provide_existing_routes_file
copy_to_generator_root("config", "routes.rb")
end
+ def provide_existing_initializer
+ copy_to_generator_root("config/initializers", "clearance.rb")
+ end
+
def provide_existing_application_controller
copy_to_generator_root("app/controllers", "application_controller.rb")
end
def provide_existing_user_class