aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
Commit message (Collapse)AuthorAgeFilesLines
...
| * Properly handle other databases in 'plugin new' generatorPiotr Sarnacki2010-11-023-5/+22
| |
| * Skip active record properly in 'plugin new' generatorPiotr Sarnacki2010-11-021-0/+1
| |
| * Use rails integration tests by default in 'plugin new' generatorPiotr Sarnacki2010-11-021-3/+1
| |
| * Don't be verbose while creating dummy application in plugin new generatorPiotr Sarnacki2010-11-021-0/+4
| |
| * Pass more options to test/dummy in 'plugin new' generatorPiotr Sarnacki2010-11-021-0/+15
| |
| * Add --full option to 'plugin new' generator, which generates rails enginePiotr Sarnacki2010-11-021-1/+27
| |
| * No need for say_step in 'plugin new' generatorPiotr Sarnacki2010-11-021-4/+3
| |
| * Remove integration tests and ActionModel/ActiveRecord calls from 'rake ↵Piotr Sarnacki2010-11-022-8/+2
| | | | | | | | plugin new' generator, it shouldn't be available as default option
| * Make tests for app and plugin generators more DRYPiotr Sarnacki2010-11-023-273/+205
| |
| * Allow easy overriding of test framework in 'rake plugin new' generator, ↵Piotr Sarnacki2010-11-021-0/+10
| | | | | | | | using PluginBuilder
| * Ensure that tests run properlyPiotr Sarnacki2010-11-021-0/+7
| |
| * Change // style regexp to %r{}, to not confuse editors code highlightingPiotr Sarnacki2010-11-021-1/+1
| |
| * Add --dev and --edge options to rails plugin newPiotr Sarnacki2010-11-021-0/+13
| |
| * Add support for templates for rails plugin newPiotr Sarnacki2010-11-021-0/+20
| |
| * Ensure that options for plugin new generator are not passed to application ↵Piotr Sarnacki2010-11-021-0/+6
| | | | | | | | generator
| * Added 'rails plugin new' generator which generates gem plugin skeleton.Piotr Sarnacki2010-11-021-0/+179
| | | | | | | | | | | | This command is based on enginex gem by José Valim. It generates gem structure and ads dummy application into test/dummy. This can be used to start developing any kind of extension for rails 3.
* | skip testing framework if app created with --skip-test-unit [#5796 ↵Rob Zolkos2010-11-111-0/+7
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | The model generator shouldn't throw warnings when using mass nouns [#5363 ↵Jeff Kreeftmeijer2010-11-111-0/+5
|/ | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* -j parameter added to rails new command.siong19872010-10-111-4/+24
| | | | | | | | Now you can start your apps with jquery with rails new myapp -j jquery, the default is still prototype [#5613 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Rename namespace method to isolate_namespace.Piotr Sarnacki2010-10-091-2/+2
| | | | | | | This change caused by confusion caused by calling engine "namespaced". Stuff inside engine can be namespaced for every engine. This method is not actually namespacing anything, it's isolating engine within the given namespace.
* This test is not only testing config/database stuff anymoreSantiago Pastorino2010-10-091-1/+1
|
* test that skip active records does not load fixturesAditya Sanghi2010-10-091-0/+3
| | | | | | [#4104 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Test if test/performance/browsing_test.rb exists when --skip-activerecord is ↵Santiago Pastorino2010-10-091-0/+1
| | | | | | used [#4104]
* Revert "Clean up the builder abstraction in AppGenerator."wycats2010-10-061-1/+67
| | | | | | | The phrase "clean up" misrepresents the fact that this removes a feature that ships with Rails 3.0. This reverts commit 6774e12afa0f29442aa612ddf6e51d5a1b7a4356.
* Clean up the builder abstraction in AppGenerator.José Valim2010-10-061-67/+1
| | | | This commit may be reverted once documentation and a proper way to handle actions are added.
* adding test for namedspaced mailersAditya Sanghi2010-10-061-0/+9
|
* :'' is not valid ruby.José Valim2010-10-021-1/+1
|
* Fix app and actions generators testsPiotr Sarnacki2010-09-252-0/+9
| | | | | | | Normally Rails.application is an instance, but for those tests Rails.application needs to be class. Signed-off-by: José Valim <jose.valim@gmail.com>
* Add namespacing to mailer generatorPiotr Sarnacki2010-09-251-0/+52
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add namespacing for observer generatorPiotr Sarnacki2010-09-251-0/+22
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add namespace for test_unit generatorsPiotr Sarnacki2010-09-251-3/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Generators fix: properly check if module should be created when creating a ↵Piotr Sarnacki2010-09-251-0/+5
| | | | | | namespaced model Signed-off-by: José Valim <jose.valim@gmail.com>
* got rid of the "ambiguous first argument; put parentheses or even spaces" ↵Jeff Kreeftmeijer2010-09-241-32/+32
| | | | | | warnings in the scaffold_generator tests [#4872 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Generators are not aware of namespace of isolated engines and applicationsPiotr Sarnacki2010-09-242-1/+126
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensures the app generator generates the correct @app_name. [#5434 ↵Fred Wu2010-09-241-0/+1
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove existing migration when using 'rails generate model' with --force ↵David Trasbo2010-09-181-0/+9
| | | | | | [#5526 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove deprecation warnings in railtiesCarlos Antonio da Silva2010-09-061-37/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add two integration tests for GeneratedAttribute missing type error. [#5461 ↵rohit2010-09-022-0/+12
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Failing test for GeneratedAttribute [#5461 state:open]rohit2010-09-021-0/+12
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fixed the session name generated by the app_generator. Also refactored the ↵Fred Wu2010-08-281-6/+21
| | | | | | corresponding test suites to be cleaner. [#5434 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix test of generated Gemfile with mysql selected as DB driverKrekoten' Marjan2010-08-241-1/+1
| | | | | | [#5435 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-142-3/+3
| | | | 's/[ \t]*$//' -i {} \;)
* Stub is_a? not instance_of? hereSantiago Pastorino2010-08-031-1/+1
|
* Improved how AppGenerator generates the application name. It now detects the ↵Fred Wu2010-08-021-0/+24
| | | | | | | | current app name whenever possible. This means that renaming the residing directory will not effect the app name generated by AppGenerator. [#5225 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Failing test to check for route file corruption if legacy map parameter is ↵rohit2010-08-021-0/+15
| | | | used. [#5263 state:open]
* fix for rails app generator when using --pretend optionSteve Agalloco2010-07-301-0/+6
| | | | | | [#5245 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Update to latest thor.José Valim2010-07-261-4/+4
|
* application generation: --skip-testunit and --skip-activerecord renamed to ↵Xavier Noria2010-07-251-6/+6
| | | | | | | | --skip-test-unit and --skip-active-record respectively Reason is their proper spellings are "Test::Unit" and "Active Record". Option names and descriptions have been revised, as well as some method names and minor details here and there.
* Makes test use the new config.action_view.javascript_expansions[:defaults] ↵Santiago Pastorino2010-07-171-1/+1
| | | | initialization syntax
* Adds application.js when app is generated with -J and clear ↵Santiago Pastorino2010-07-171-1/+6
| | | | javascript_expansions[:defaults]