lib/generators/components/tests/testspec_test_gen.rb in padrino-gen-0.2.0 vs lib/generators/components/tests/testspec_test_gen.rb in padrino-gen-0.2.1

- old
+ new

@@ -47,10 +47,10 @@ end TEST def generate_model_test(name) tests_contents = TESTSPEC_MODEL_TEST.gsub(/!NAME!/, name.to_s.camelize).gsub(/!DNAME!/, name.downcase.underscore) - create_file app_root_path("test/models/#{name.to_s.downcase}.rb"), tests_contents + create_file app_root_path("test/models/#{name.to_s.downcase}_test.rb"), tests_contents end end end