merb-gen 0.9.13 → 1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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