aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/app_generator_test.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* default orm and test_framework to false; change application.rb template ↵Aditya Sanghi2011-05-061-3/+7
| | | | accordingly
* When skipping skip active record, mark config.generators.orm to false; LH ↵Aditya Sanghi2011-05-061-1/+4
| | | | 5796 remainder
* Adding jruby-openssl in Gemfile by default. #jrubyArun Agrawal2011-05-051-0/+1
|
* restores the -j option, but now it accepts the name of any libraryXavier Noria2011-05-041-9/+29
| | | | | | If passed "foo", a gem "foo-rails" is added to the Gemfile and "foo" and "foo_ujs" are required in the application JavaScript manifest.
* Prototype and Scriptaculous are no longer vendored, but provided by ↵Xavier Noria2011-04-301-20/+1
| | | | prototype-rails from now on, also the -j option of the application generator is removed
* jdbcpostgresql support added into template.Vishnu Atrai2011-04-261-0/+6
|
* jdbcsqlite3 support added into template. #jrubyArun Agrawal2011-04-231-0/+6
|
* Start Adding jdbcmysql support to new rails template.Arun Agrawal2011-04-231-0/+6
| | | More will come for jruby app.
* Images path fixed in test.Arun Agrawal2011-04-231-1/+1
|
* Fix generator tests.José Valim2011-04-151-22/+21
|
* jQuery is the new defaultXavier Noria2011-04-131-11/+8
|
* Add --old-style-hash option to force creating old style hash on Ruby 1.9Prem Sichanugrist2011-04-101-0/+8
| | | | That means if you don't like the new syntax, you can pass --old-style-hash to force Rails to generate code with hash rockets.
* Rails will now generate Ruby 1.9 style hash when running app generator on ↵Prem Sichanugrist2011-04-101-0/+10
| | | | | | Ruby 1.9.x The new hash syntax of Ruby 1.9 looks more superior, so we decide to switch to it in the places that appropriate.
* Test non zero exit code and that a message still appears when generating ↵Philip Arndt2011-01-291-0/+11
| | | | inside an existing Rails directory.
* Dir.chdir is not useful in this test, that was for another one I am planning ↵Philip Arndt2011-01-291-4/+3
| | | | to do.
* Added test to ensure non zero exit codes when generating an application with ↵Philip Arndt2011-01-291-0/+7
| | | | | | a reserved name. Unfortunately, I can't find out how to suppress its output so we see ....Invalid application name test. Please give a name which does not match one of the reserved rails words.....................................
* change sqlite3-ruby => sqlite3 in the generatorsAaron Patterson2011-01-161-1/+1
|
* dragdrop was tested twice and effects.js was missing, added checks for ↵Santiago Pastorino2010-12-161-1/+4
| | | | controls.js, dragdrop.js and effects.js to another test
* Fix generation of prototype files, it should work with --javascript ↵Piotr Sarnacki2010-12-161-0/+3
| | | | prototype, not --prototype
* Remove whitespaces and add missing test.José Valim2010-11-111-5/+12
|
* Properly skip test unit in 'plugin new' generatorPiotr Sarnacki2010-11-021-5/+0
|
* Properly handle other databases in 'plugin new' generatorPiotr Sarnacki2010-11-021-5/+0
|
* Remove integration tests and ActionModel/ActiveRecord calls from 'rake ↵Piotr Sarnacki2010-11-021-1/+1
| | | | plugin new' generator, it shouldn't be available as default option
* Make tests for app and plugin generators more DRYPiotr Sarnacki2010-11-021-136/+12
|
* -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>
* 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.
* Fix app and actions generators testsPiotr Sarnacki2010-09-251-0/+4
| | | | | | | 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>
* 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>
* 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-141-1/+1
| | | | '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>
* 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]
* Test create mailers folder when starting a new appDamien Mathieu2010-06-121-0/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* layout 'application' is not anymore on application_controllerSantiago Pastorino2010-06-101-2/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix generator test broken when rails new was added.José Valim2010-06-081-3/+1
|
* Tests for new reserved words [#4602 state:resolved]Simon Jefford2010-05-161-2/+7
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Expand paths to app builders relative to the working directoryCarl Lerche2010-05-061-0/+8
|
* Provide a mechanism for overriding the entire generator via a class that ↵Carlhuda2010-04-301-38/+96
| | | | handles the individual elements of generating a new Rails application
* Set up app generator class to make it easier to for alt-stacks to override ↵Carlhuda2010-04-301-0/+4
| | | | targeted areas
* Update thor dependency to 0.13.5José Valim2010-04-291-1/+1
|