aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
Commit message (Collapse)AuthorAgeFilesLines
* Add mailer previews feature based on mail_view gemAndrew White2013-12-171-3/+33
|
* Fix method redefinition warningAndrew White2013-12-171-2/+6
|
* Skipping debugger from plugin Gemfile for JRubyArun Agrawal2013-12-061-0/+11
|
* Make sure that spring is loaded in development onlyArun Agrawal2013-12-051-1/+1
|
* Install Spring preloader when generating new applicationsJon Leighton2013-12-032-6/+38
|
* Merge pull request #13117 from akshay-vishnoi/typoXavier Noria2013-12-021-2/+2
|\ | | | | Typo and grammatical fixes [ci skip]
| * Typo and grammatical fixes [ci skip]Akshay Vishnoi2013-12-021-2/+2
| |
* | config.assets.enabled isn't used anymore to disable Rails asset pipelineGuillermo Iguaran2013-12-011-1/+0
| |
* | Fixes failing test for JRubyArun Agrawal2013-11-291-0/+3
| | | | | | | | | | in JRuby FileUtils do not change current dir when moving files
* | Checking no debugger on JRubyArun Agrawal2013-11-291-1/+7
|/ | | | fixes tests for JRuby
* Test for when controller with skip-assetsArun Agrawal2013-11-231-0/+6
|
* Added test when task generator called on revokeArun Agrawal2013-11-231-1/+13
|
* Merge pull request #13011 from arunagw/jruby-fixesYves Senn2013-11-231-2/+10
|\ | | | | Using activerecord-jdbcsqlite3-adapter
| * Using activerecord-jdbcsqlite3-adapterArun Agrawal2013-11-231-2/+10
| | | | | | | | | | PluginGeneratorTest needs to have activerecord-jdbcsqlite3-adapter to pass under JRuby
* | Cleaned up app generator testArun Agrawal2013-11-231-21/+6
|/
* Use a more generic assertion to make sure this tests will be useful.Rafael Mendonça França2013-11-221-3/+2
| | | | | | Since we are using assert_no_match, if we change the code before changing the tests, the tests will still pass and the assertion will become useless
* Fix the assertion for not inclusion of turbolinks on application.js.Lauro Caetano2013-11-221-1/+1
| | | | | We were asserting if `//= turbolinks` was not present while the correct is asserting that `//= require turbolinks` is not present.
* Remove turbolinks when generating a new application based on a templateLauro Caetano2013-11-211-3/+10
| | | | | | that skips it. It can be skipped adding `add_gem_entry_filter { |gem| gem.name != "turbolinks" }` to the template.
* Added platform dependent gemsArun Agrawal2013-11-071-0/+7
| | | | | | See #12475 If people are on rbx they will get the desired gem
* application template respects Gemfile entriesAaron Patterson2013-11-041-0/+20
|
* gems can be added or skipped from the templateAaron Patterson2013-11-042-0/+27
|
* No web-console for nowArun Agrawal2013-11-031-5/+0
|
* Passing args for gemfile entryArun Agrawal2013-11-011-1/+1
| | | | Fixing build
* gemfile entries can be added to the app builderAaron Patterson2013-10-311-0/+35
|
* forgot to add the test. orz :cry:Aaron Patterson2013-10-311-0/+50
|
* add a test for whitespace separated args in the rc fileAaron Patterson2013-10-301-0/+16
|
* there is no reason for ARGV[0] to be nilAaron Patterson2013-10-301-2/+2
|
* add a comment to people of the futureAaron Patterson2013-10-301-1/+5
|
* adding a test for --help defaultsAaron Patterson2013-10-301-0/+7
|
* change the test to make argv a little more realisticAaron Patterson2013-10-301-7/+6
|
* adding a test for the current behaviorAaron Patterson2013-10-301-0/+18
|
* add a test for the rc commandline optionAaron Patterson2013-10-301-0/+18
|
* remove useless assertionsAaron Patterson2013-10-301-2/+0
|
* test some of the rc specificationAaron Patterson2013-10-301-3/+43
|
* forgot the test, oops!Aaron Patterson2013-10-301-0/+36
|
* Fixed tests for app_generatorArun Agrawal2013-10-271-2/+13
| | | | | | Added test for jbuilder and web-console inclusion. Added README.rdoc for test default files
* Removal of javascript related gems when creating an appRobin Dupret2013-10-271-5/+7
| | | | | | | | | Commit 0417bc8 add the coffee-rails and javascript runtime gems even when passing the --skip-javascript option but this is not the desired behavior. Also remove all javascript related stuff in the generated application such as the vendor/assets/javascripts folder.
* Make the application name snake cased when it contains spacesRobin Dupret2013-10-221-0/+10
| | | | | | | | | | | | | The application name is used to fill the `database.yml` and `session_store.rb` files ; previously, if the provided name contained whitespaces, it led to unexpected names in these files. Since Shellwords.escape adds backslashes to escape spaces, the app_name should remove them and replace any space with an underscore (just like periods previously). Also improve the assert_file helper to work with paths containing spaces using String#shellescape.
* Added --model-name option scaffold_controller_generator.yalab2013-10-152-0/+28
|
* Don't require using application_name before optionsPiotr Sarnacki2013-09-131-5/+0
| | | | | | | | | | | | Before this commit options for `rails new` and `rails plugin new` had to be passed in a strict order, trying to execute a following command: rails new -J path/to/app resulted in an error. This commit fixes the situation and allows to pass path to app anywhere after `new`
* Fix typo in generators test helpr -> helper [ci skip]Prathamesh Sonpatki2013-08-301-1/+1
|
* Add --skip-action-view to app generatorŁukasz Strzałkowski2013-08-251-0/+5
|
* Missing AV requires in railties testsŁukasz Strzałkowski2013-08-251-0/+1
|
* Fix the indentation on the from template of the scaffold generatorRafael Mendonça França2013-08-191-2/+2
|
* Generate namespaced routes correctly for generators. Fix for #11532Prathamesh Sonpatki2013-08-141-0/+5
|
* Use GeneratedAttribute#column_name if #reference? scaffold_generator in ↵Zachary Scott2013-07-231-0/+24
| | | | _form view [Fixes #11573]
* Stop reading the same file twice for testing different contentCarlos Antonio da Silva2013-07-221-8/+4
| | | | | assert_file already gives this functionality for free by passing multiple contents.
* Added generated unit test for generator generator and new test:generators ↵Josef Šimánek2013-07-161-0/+16
| | | | rake task included in test:all rake task.
* s/plugin_new/pluginschneems2013-06-301-2/+2
| | | | | There are historical reasons that the `plugin` command was `plugin_new`, now those are no longer applicable, we should remove the naming edge case from the project. This PR is based off of comments from #11176 ATP Railties
* Omit turbolinks configuration completely on skip_javascript generator optionNikita Fedyashev2013-06-281-3/+8
|