|
58c44f09
»
|
markbates |
2008-06-16 |
Added all the generators/ta... |
1 |
models_directory: |
| |
2 |
type: directory |
| |
3 |
output_path: <%= File.join("app", "models") %> |
| |
4 |
model_template: |
| |
5 |
type: file |
| |
6 |
template_path: <%= File.join(templates_directory_path, "model.rb.template") %> |
| |
7 |
output_path: <%= File.join("app", "models", "#{param(:name).singular.underscore}.rb") %> |
|
edd74ddb
»
|
dsutedja |
2008-07-07 |
AR model generator |
8 |
|
| |
9 |
<% if testing_framework == "test_case" %> |
|
58c44f09
»
|
markbates |
2008-06-16 |
Added all the generators/ta... |
10 |
test_template: |
| |
11 |
type: file |
|
0e791d12
»
|
dsutedja |
2008-07-08 |
more AR gen stuff |
12 |
template_path: <%= File.join(templates_directory_path, "test.rb.template") %> |
|
3b331aaa
»
|
markbates |
2008-08-04 |
mack-active_record no longe... |
13 |
output_path: <%= File.join("test", "models", "#{param(:name).singular.underscore}_test.rb") %> |
|
edd74ddb
»
|
dsutedja |
2008-07-07 |
AR model generator |
14 |
<% elsif testing_framework == "rspec" %> |
| |
15 |
test_template: |
| |
16 |
type: file |
|
0e791d12
»
|
dsutedja |
2008-07-08 |
more AR gen stuff |
17 |
template_path: <%= File.join(templates_directory_path, "rspec.rb.template") %> |
|
3b331aaa
»
|
markbates |
2008-08-04 |
mack-active_record no longe... |
18 |
output_path: <%= File.join("test", "models", "#{param(:name).singular.underscore}_spec.rb") %> |
|
edd74ddb
»
|
dsutedja |
2008-07-07 |
AR model generator |
19 |
<% end %> |