aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/testing/assertions.rb
Commit message (Collapse)AuthorAgeFilesLines
* applies remaining conventions across the projectXavier Noria2016-08-061-4/+4
|
* remove unused requireyuuji.yaginuma2015-10-081-2/+0
| | | | `shellwords` is no longer needed from #20605.
* assert_file understands paths with special charactersDiego Carrion2015-06-181-1/+1
| | | fixes #20042
* Require shellwords since it is dependecy of this fileRafael Mendonça França2014-06-261-0/+2
| | | | Closes #15919
* More Warnings removed for ruby trunkArun Agrawal2013-11-011-2/+2
| | | | Same as 4d4ff531b8807ee88a3fc46875c7e76f613956fb
* 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
|
* Move the class methods to above the protected sectionRafael Mendonça França2013-04-011-3/+0
|
* Break down Rails::Generator::TestCase into modulesPablo Herrero2013-03-311-0/+124