aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/plugin_new_generator_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert changes related to `bundle install` fixes in `rails new`"Piotr Sarnacki2012-08-311-2/+7
| | | | | | | | The cause of the previous revert was bug in bundler that made it hard to make railties test work. Fix for bundler was recently pushed to github, so now we can safely get back to the original commit. This reverts commit 0f5cc34ab58cda99d1401ecc82e1ebb873838dd7.
* remove test/dummy from gitignore when "plugin new -T"Francesco Rodriguez2012-07-031-1/+7
|
* Merge pull request #6681 from arunagw/plugin_gen_fixRafael Mendonça França2012-06-081-2/+8
|\ | | | | Plugin gen fix
| * We should not include engine.rake file into rakeArun Agrawal2012-06-081-0/+8
| | | | | | | | | | | | | | | | | | | | | | if we are passing -T which is skip_test_unit See issue #6673 for more details. I saw that we are not creating dummy app even if we do skip_test_unit. Fixes #6673
| * Removed protected as we already doing it above.Arun Agrawal2012-06-081-2/+0
| |
* | Don't add sqlite3 to gemspec with -O on rails plugin newPiotr Sarnacki2012-06-081-0/+8
|/ | | | (closes #6672)
* Fixed the Gemfile when gemspec is skipped in the 'rails plugin new' commandFred Wu2012-06-051-0/+26
|
* Use new hash syntax for generators gem methodAlexey Vakhov2012-05-221-2/+2
| | | | | | The Gemfile of new application uses ruby 1.9 hashes. Gem method of generators should use them too. It prevents from mixing two kinds of syntax in one file.
* Revert changes related to `bundle install` fixes in `rails new`Piotr Sarnacki2012-05-171-7/+2
| | | | | | | | | | | Reverted changes: f3482a9 Fix tests in railties 5904295 improve #6318 aed906a prevent using already loaded Gemfile for 'bundle install' In order to fix this, we need a fix in bundler related to GEM_PATH, which will allow to run tests properly. I will get this changes back when it happens.
* Fix tests in railtiesPiotr Sarnacki2012-05-151-1/+1
| | | | | | | | Since `bundle install` was fixed in `rails plugin new`, it now requires `rails 4.0.0.beta` version in filesystem when running tests. Instead of providing it, we can run tested command with `--dev` option, to use rails from the local directory.
* improve #6318Michal Papis2012-05-151-1/+6
|
* Failing test for #6251Piotr Sarnacki2012-05-101-0/+7
|
* Build fix for plugin new generator changeCarlos Antonio da Silva2012-05-011-2/+2
| | | | Related to a06a84bf77082a7435973fa1b6c8254fb410f243
* Fix GH #4737. Missing helper file (LoadError) in mountable plugin.kennyj2012-02-021-7/+8
|
* Fix tests, ./ is not needed for relative entries in Gemfile in newest ↵Piotr Sarnacki2012-01-071-2/+2
| | | | bundler version
* Add Gemfile entry when creating a plugin in application's directoryPiotr Sarnacki2012-01-071-1/+32
| | | | | | | | | | | | After vendor/plugins were removed from rails, the new method to create plugins is to create gem plugins. Most of the time if you create a new plugin in rails application's directory, you want to extract something from that application and use it immediately, ie. add such line to Gemfile: gem 'foo', :path => './vendor/foo' This commit makes plugin new generator to add such line automatically.
* No need 'abstract_unit' here. It's already in 'generators_test_helper'Arun Agrawal2011-12-181-1/+0
|
* fix rails plugin new CamelCasedName buglest2011-11-191-0/+6
| | | | refs #3684
* Fixed error with 'rails generate new plugin' where the .gitignore was not ↵Tyler Coville2011-11-091-0/+8
| | | | properly generated if --dummy-path was used and added test case
* Warnings removed for "assert_match /" Please doArun Agrawal2011-09-041-3/+3
| | | | not add more.!
* Covering more files in test for plugin new generator. Vishnu Atrai2011-07-291-0/+2
|
* Test add for plugin new generator generate mailerArun Agrawal2011-07-291-4/+5
|
* pluging generator test fixVishnu Atrai2011-07-281-8/+8
|
* As we are adding db folder in it. Required in test also.Arun Agrawal2011-07-171-1/+1
|
* fix engines rake tasksJake Varghese2011-07-041-0/+8
|
* Merge pull request #1676 from neerajdotname/make_test_name_meaningfulSantiago Pastorino2011-06-131-1/+1
|\ | | | | Remove "is_assed" with something more meaningful
| * Remove "is_assed" with something more meaningfulNeeraj Singh2011-06-131-1/+1
| |
* | namespace engine assetsRyan Bates2011-06-121-12/+16
|/
* Merge pull request #1356 from flippingbits/fix_engine_generatorJosé Valim2011-06-091-3/+10
|\ | | | | Fix engine's generator
| * Generate script/rails only if --full is givenStefan Sprenger2011-05-271-3/+3
| |
| * Fix appending 'Stefan Sprenger2011-05-271-1/+1
| |
| * Fix and test ENGINE_PATH and ENGINE_ROOTStefan Sprenger2011-05-271-0/+8
| |
| * We're now using generators directlyStefan Sprenger2011-05-261-1/+0
| |
* | properly require javascript libraries when generating mountable engineJ. Edward Dewyea2011-05-301-0/+22
|/
* Use global namespace RailsStefan Sprenger2011-05-261-1/+1
|
* Improve test assertionStefan Sprenger2011-05-251-1/+3
|
* Remove whitespaces from empty lineStefan Sprenger2011-05-251-1/+1
|
* Add test files to engine's gemspecStefan Sprenger2011-05-251-0/+7
|
* Merge pull request #1260 from flippingbits/masterJosé Valim2011-05-251-0/+5
|\ | | | | Remove shebang from the template
| * Add test for shebang in engine's script/rails fileStefan Sprenger2011-05-241-0/+5
| |
* | create the dummy app if there's no test_unit but there's a dummy_pathdmathieu2011-05-241-0/+7
|/
* Fix failing test suite (please run tests before sending pull requests :S)José Valim2011-05-241-1/+2
|
* Add test for gemspec of the generated engineStefan Sprenger2011-05-241-0/+6
|
* Run bundle install once when using plugin_new --full --mountable. Closes #555Santiago Pastorino2011-05-171-0/+5
|
* new reporting method Kernel#quietlyXavier Noria2011-05-131-2/+2
|
* application and plugin generation run bundle check unless --skip-gemfileXavier Noria2011-05-131-3/+3
| | | | | | | The purpose of this feature is that the user knows whether dependencies are satisfied. In particular, if they are not he will be warned upfront, rather than finding out himself in an abrupt way by trying to run something.
* adds comments clarifying the role of SharedGeneratorTestsXavier Noria2011-05-071-0/+2
|
* Fixed tests for new_plugin_generator.Arun Agrawal2011-05-041-2/+0
|
* Prototype and Scriptaculous are no longer vendored, but provided by ↵Xavier Noria2011-04-301-10/+0
| | | | prototype-rails from now on, also the -j option of the application generator is removed
* Fix tests.José Valim2011-04-251-1/+1
|