Changeset 1228 for trunk/rspec_generators
- Timestamp:
- 01/09/08 11:45:24 (11 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/rspec_generators/merb_controller_test/merb_controller_test_generator.rb
r867 r1228 28 28 @template_actions.each do |the_action| 29 29 template_name = "#{the_action}.html.#{@engine}" 30 if File.exists?(File.join(M ERB_ROOT, "app", "views", file_name, template_name))30 if File.exists?(File.join(Merb.root, "app", "views", file_name, template_name)) 31 31 m.template "#{the_action}_spec.rb", "spec/views/#{file_name}/#{the_action}_html_spec.rb" 32 32 end
