Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test non zero exit code and that a message still appears when generating ↵ | Philip Arndt | 2011-01-29 | 1 | -0/+11 |
| | | | | inside an existing Rails directory. | ||||
* | Dir.chdir is not useful in this test, that was for another one I am planning ↵ | Philip Arndt | 2011-01-29 | 1 | -4/+3 |
| | | | | to do. | ||||
* | Added test to ensure non zero exit codes when generating an application with ↵ | Philip Arndt | 2011-01-29 | 1 | -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 generators | Aaron Patterson | 2011-01-16 | 1 | -1/+1 |
| | |||||
* | dragdrop was tested twice and effects.js was missing, added checks for ↵ | Santiago Pastorino | 2010-12-16 | 1 | -1/+4 |
| | | | | controls.js, dragdrop.js and effects.js to another test | ||||
* | Fix generation of prototype files, it should work with --javascript ↵ | Piotr Sarnacki | 2010-12-16 | 1 | -0/+3 |
| | | | | prototype, not --prototype | ||||
* | Remove whitespaces and add missing test. | José Valim | 2010-11-11 | 1 | -5/+12 |
| | |||||
* | Properly skip test unit in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 1 | -5/+0 |
| | |||||
* | Properly handle other databases in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 1 | -5/+0 |
| | |||||
* | Remove integration tests and ActionModel/ActiveRecord calls from 'rake ↵ | Piotr Sarnacki | 2010-11-02 | 1 | -1/+1 |
| | | | | plugin new' generator, it shouldn't be available as default option | ||||
* | Make tests for app and plugin generators more DRY | Piotr Sarnacki | 2010-11-02 | 1 | -136/+12 |
| | |||||
* | -j parameter added to rails new command. | siong1987 | 2010-10-11 | 1 | -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 anymore | Santiago Pastorino | 2010-10-09 | 1 | -1/+1 |
| | |||||
* | test that skip active records does not load fixtures | Aditya Sanghi | 2010-10-09 | 1 | -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 Pastorino | 2010-10-09 | 1 | -0/+1 |
| | | | | | | used [#4104] | ||||
* | Revert "Clean up the builder abstraction in AppGenerator." | wycats | 2010-10-06 | 1 | -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é Valim | 2010-10-06 | 1 | -67/+1 |
| | | | | This commit may be reverted once documentation and a proper way to handle actions are added. | ||||
* | Fix app and actions generators tests | Piotr Sarnacki | 2010-09-25 | 1 | -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 Wu | 2010-09-24 | 1 | -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 Wu | 2010-08-28 | 1 | -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 driver | Krekoten' Marjan | 2010-08-24 | 1 | -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 Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Stub is_a? not instance_of? here | Santiago Pastorino | 2010-08-03 | 1 | -1/+1 |
| | |||||
* | Improved how AppGenerator generates the application name. It now detects the ↵ | Fred Wu | 2010-08-02 | 1 | -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 option | Steve Agalloco | 2010-07-30 | 1 | -0/+6 |
| | | | | | | [#5245 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Update to latest thor. | José Valim | 2010-07-26 | 1 | -4/+4 |
| | |||||
* | application generation: --skip-testunit and --skip-activerecord renamed to ↵ | Xavier Noria | 2010-07-25 | 1 | -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 Pastorino | 2010-07-17 | 1 | -1/+1 |
| | | | | initialization syntax | ||||
* | Adds application.js when app is generated with -J and clear ↵ | Santiago Pastorino | 2010-07-17 | 1 | -1/+6 |
| | | | | javascript_expansions[:defaults] | ||||
* | Test create mailers folder when starting a new app | Damien Mathieu | 2010-06-12 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | layout 'application' is not anymore on application_controller | Santiago Pastorino | 2010-06-10 | 1 | -2/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix generator test broken when rails new was added. | José Valim | 2010-06-08 | 1 | -3/+1 |
| | |||||
* | Tests for new reserved words [#4602 state:resolved] | Simon Jefford | 2010-05-16 | 1 | -2/+7 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Expand paths to app builders relative to the working directory | Carl Lerche | 2010-05-06 | 1 | -0/+8 |
| | |||||
* | Provide a mechanism for overriding the entire generator via a class that ↵ | Carlhuda | 2010-04-30 | 1 | -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 ↵ | Carlhuda | 2010-04-30 | 1 | -0/+4 |
| | | | | targeted areas | ||||
* | Update thor dependency to 0.13.5 | José Valim | 2010-04-29 | 1 | -1/+1 |
| | |||||
* | warn user if options are given before application name [#3435 state:resolved] | Ravinder Singh | 2010-04-29 | 1 | -0/+5 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Include app name in layout title | Jeremy Kemper | 2010-04-09 | 1 | -2/+2 |
| | |||||
* | A new application now comes with a layout and a stylesheet. | José Valim | 2010-04-06 | 1 | -0/+7 |
| | |||||
* | Load generators from both lib/rails/generators and lib/generators. Using the ↵ | José Valim | 2010-03-23 | 1 | -1/+1 |
| | | | | former since it's less obstrusive. | ||||
* | In app_generator, fix hardcoded `bundle` call to derive the bundle ↵ | Caio Chassot | 2010-03-12 | 1 | -2/+3 |
| | | | | | | | | executable name from Thor::Util.ruby_command. This ensures that eg. when `rails` is called from `ruby1.9`, `bundle1.9` is called. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add a check to ensure that the application name does not already exist, i.e. ↵ | Kieran Pilkington | 2010-03-12 | 1 | -0/+7 |
| | | | | | | String or Module are part of ruby [#3872 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | the folder public/javascripts should be created by default [#4027 ↵ | Ramon Soares | 2010-02-26 | 1 | -0/+1 |
| | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Invalid namespace on app generation raises an error | Kyle Maxwell | 2010-02-17 | 1 | -0/+5 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix a couple failing tests. | José Valim | 2010-02-10 | 1 | -4/+2 |
| | |||||
* | Debrittlize tests somewhat - fix for CI build | Mikel Lindsaar | 2010-02-10 | 1 | -5/+5 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fixes test fail | Yehuda Katz | 2010-02-05 | 1 | -1/+1 |
| | |||||
* | Move framework requires and Bundler.require from boot.rb to app.rb. Cut down ↵ | Jeremy Kemper | 2010-02-04 | 1 | -1/+1 |
| | | | | the list of railtie choices to those that make sense. | ||||
* | Update Gemfile to use latest bundler config. | José Valim | 2010-02-04 | 1 | -0/+7 |
| |