aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/testing
Commit message (Collapse)AuthorAgeFilesLines
* Make the application name snake cased when it contains spacesRobin Dupret2013-10-221-1/+1
| | | | | | | | | | | | | 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.
* Revert "Merge pull request #10194 from ↵Carlos Antonio da Silva2013-04-121-3/+1
| | | | | | | pabloh/extract_regexp_at_generators_testing_assertion" This reverts commit 81f243375b9d3cfd431c1ca904c5c1efc9a41ae8, reversing changes made to c7673b0981d961e5510c85d958c944876d543314.
* Extract method declaration regexp into a constantPablo Herrero2013-04-121-1/+3
|
* Avoid running bundler on tests that don't need itSam Ruby2013-04-031-1/+4
|
* Move the class methods to above the protected sectionRafael Mendonça França2013-04-013-47/+36
|
* Break down Rails::Generator::TestCase into modulesPablo Herrero2013-03-313-0/+253