merb-gen 0.9.13 → 1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,13 +28,13 @@ module Merb::Generators
28
28
  end
29
29
 
30
30
  template :controller_spec, :testing_framework => :rspec do |template|
31
- template.source = 'spec/controllers/%file_name%_spec.rb'
32
- template.destination = "spec/controllers" / base_path / "#{file_name}_spec.rb"
31
+ template.source = 'spec/requests/%file_name%_spec.rb'
32
+ template.destination = "spec/requests" / base_path / "#{file_name}_spec.rb"
33
33
  end
34
34
 
35
35
  template :controller_test_unit, :testing_framework => :test_unit do |template|
36
- template.source = 'test/controllers/%file_name%_test.rb'
37
- template.destination = "test/controllers" / base_path / "#{file_name}_test.rb"
36
+ template.source = 'test/requests/%file_name%_test.rb'
37
+ template.destination = "test/requests" / base_path / "#{file_name}_test.rb"
38
38
  end
39
39
 
40
40
  def after_generation