aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/app_generator_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2390 from arunagw/test_for_environment_fileSantiago Pastorino2011-08-241-0/+9
|\ | | | | Test added to check development.rb, test.rb and production.rb content
| * Test added to check mass_assignment_sanitizer is not present if ↵Arun Agrawal2011-08-031-0/+9
| | | | | | | | --skip-active-record provided.
* | Merge pull request #2620 from cesario/3-1-0Santiago Pastorino2011-08-211-1/+1
|/ | | | Fix CI and rename 1 misleading test case.
* Use cache/assets instead.José Valim2011-07-121-1/+1
|
* assets.cache_store now defaults to filesystem. You will want to share ↵José Valim2011-07-121-0/+1
| | | | tmp/assets_cache between deploys.
* [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-291-4/+10
| | | | | | | | | | This makes "sprockets/railtie" explicit. This means that sprockets will be loaded when you require "rails/all". If you are not using requiring "rails/all", you need to manually load it with all other framework railties. In order to be complete, this commit also adds --skip-sprockets to the rails generator.
* fix test when running Jruby. If Jruby Platform is available the gem will change.Arun Agrawal2011-06-291-2/+10
|
* Merge pull request #1481 from arunagw/lib_assetsDavid Heinemeier Hansson2011-06-271-1/+2
|\ | | | | Generating /lib/assets for assets
| * Using lib/assets only. Javascripts/Stylesheets people can fill later.Arun Agrawal2011-06-161-1/+2
| |
* | Tests added when no option is given with #jruby. It should generateArun Agrawal2011-06-221-0/+8
| | | | | | | | sqlite3 based app
* | Making tests according to the changes #jrubyArun Agrawal2011-06-221-3/+4
| |
* | Test added for jdbc-adapterArun Agrawal2011-06-221-0/+6
|/
* Remove asserts for js ext stuff thats not used any moreDavid Heinemeier Hansson2011-05-241-3/+0
|
* Let's load jruby-openssl now for all. #jrubyArun Agrawal2011-05-221-1/+3
|
* be sure to parenthesize the arguments when the first one is a RegExp literalAkira Matsuda2011-05-181-13/+13
| | | | | | this fixes: "warning: ambiguous first argument; put parentheses or even spaces" because: you need this to tell the parser that you're not calling :/ method (division) details (Japanese!): http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-dev/42445?42370-43277
* Fixing typo in test for turn gemGuillermo Iguaran2011-05-181-1/+1
|
* don't include 'turn' gem in Gemfile if test unit is skipped.Teng Siong Ong2011-05-181-0/+7
|
* add tests for ruby-debug gem in Gemfile and make sure that ruby-debug19 is ↵Teng Siong Ong2011-05-181-0/+14
| | | | used as long as RUBY_VERSION > '1.9'.
* add test case for turn gem for testunit.siong19872011-05-181-0/+8
|
* use #quietly in a few places, and s/silence/capture/ where intention is captureXavier Noria2011-05-131-4/+4
|
* new reporting method Kernel#quietlyXavier Noria2011-05-131-1/+1
|
* silences stderr to prevent an expected error message in the test suite from ↵Xavier Noria2011-05-131-2/+1
| | | | being echoed
* adds comments clarifying the role of SharedGeneratorTestsXavier Noria2011-05-071-0/+2
|
* be consistentAditya Sanghi2011-05-061-3/+1
|
* review fixesAditya Sanghi2011-05-061-1/+0
|
* 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>