test/test_helper.rb in comfy_carousel-0.0.1 vs test/test_helper.rb in comfy_carousel-0.0.2
- old
+ new
@@ -13,12 +13,13 @@
end
# resetting default configuration
def reset_config
ComfyCarousel.configure do |config|
- config.admin_route_prefix = 'admin'
- config.admin_controller = 'ApplicationController'
- config.form_builder = 'ComfyCarousel::FormBuilder'
+ config.admin_route_prefix = 'admin'
+ config.admin_controller = 'ApplicationController'
+ config.form_builder = 'ComfyCarousel::FormBuilder'
+ config.upload_options = { }
end
end
# Example usage:
# assert_has_errors_on( @record, [:field_1, :field_2] )