spec/support/generator_spec_helpers.rb in clearance-1.7.0 vs spec/support/generator_spec_helpers.rb in clearance-1.8.0
- old
+ new
@@ -1,10 +1,10 @@
require "ammeter/rspec/generator/example.rb"
require "ammeter/rspec/generator/matchers.rb"
require "ammeter/init"
module GeneratorSpecHelpers
- TEMPLATE_PATH = File.expand_path("../app_templates", __FILE__)
+ TEMPLATE_PATH = File.expand_path("../../app_templates", __FILE__)
def provide_existing_routes_file
copy_to_generator_root("config", "routes.rb")
end