diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-10-14 11:26:09 +0200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-10-14 21:59:55 +0200 |
commit | 09c1718198c58d2e14d267cbd771b4853b311da1 (patch) | |
tree | 69eef736210e2fdcb8113cea5216027b834428af /railties/lib/rails_generator/generators/components/performance_test | |
parent | 3e9fc279e572d440df98fb17d83acd92b66b22dc (diff) | |
download | rails-09c1718198c58d2e14d267cbd771b4853b311da1.tar.gz rails-09c1718198c58d2e14d267cbd771b4853b311da1.tar.bz2 rails-09c1718198c58d2e14d267cbd771b4853b311da1.zip |
Remove the class_path from the collisions test.
The class_path is often taken already in situations like Admin namespaces etc.
Diffstat (limited to 'railties/lib/rails_generator/generators/components/performance_test')
-rw-r--r-- | railties/lib/rails_generator/generators/components/performance_test/performance_test_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/components/performance_test/performance_test_generator.rb b/railties/lib/rails_generator/generators/components/performance_test/performance_test_generator.rb index fbcc1cf683..83ce8ac674 100644 --- a/railties/lib/rails_generator/generators/components/performance_test/performance_test_generator.rb +++ b/railties/lib/rails_generator/generators/components/performance_test/performance_test_generator.rb @@ -4,7 +4,7 @@ class PerformanceTestGenerator < Rails::Generator::NamedBase def manifest record do |m| # Check for class naming collisions. - m.class_collisions class_path, class_name, "#{class_name}Test" + m.class_collisions class_name, "#{class_name}Test" # performance test directory m.directory File.join('test/performance', class_path) |