aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/test_case.rb
Commit message (Collapse)AuthorAgeFilesLines
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
|
* applies new string literal convention in railties/libXavier Noria2016-08-061-5/+5
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Break down Rails::Generator::TestCase into modulesPablo Herrero2013-03-311-211/+6
|
* Fix method assertion ensuring it will match "end" with the same indentationCarlos Antonio da Silva2012-12-081-2/+2
| | | | | Otherwise it was matching "end" lines from blocks within the method body, making tests such as the migration ones fail.
* Fix #assert_instance_method to also assert indented methodsFrancesco Rodriguez2012-12-081-1/+1
|
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-2/+2
|
* update Rails::Generators docs [ci skip]Francesco Rodriguez2012-10-071-19/+6
|
* use system tmpdir rather than our ownAaron Patterson2012-06-191-2/+10
|
* Remove delegated methods from generators test caseCarlos Antonio da Silva2012-05-191-1/+0
| | | | | | | `class_attribute` already generates instance readers/writers by default, so there's no need to add delegation methods. Removes some "method redefined" warnings.
* Fix misprints in assert_file & assert_instance_method docsAlexey Vakhov2012-04-261-4/+4
|
* Fix code example in generator test casePrem Sichanugrist2012-04-091-2/+2
|
* Tidy up migration types.José Valim2011-12-241-2/+2
|
* added ability to specify from cli when generating a model/migration whether ↵Dmitrii Samoilov2011-12-241-1/+1
| | | | particular property should be an index like this 'rails g model person name:string:index profile:string'
* Modified content in guides and commentsArun Agrawal2011-09-041-3/+3
| | | | | | for "assert /" warnings. Removed because if somebody will use this code they will get warnings!
* corrected a mistake in the documentation for assert_migrationmisfo2011-01-291-1/+1
|
* Move capture to Kernel. [#5641 state:resolved]Krekoten' Marjan2010-09-181-19/+1
|
* edit pass to apply API guideline wrt the use of "# =>" in example codeXavier Noria2010-07-301-1/+1
|
* application generation: --skip-testunit and --skip-activerecord renamed to ↵Xavier Noria2010-07-251-3/+3
| | | | | | | | --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.
* Rails::Generators::GeneratedAttribute: tests, cleanups and a bugfix [#4631 ↵Jeff Kreeftmeijer2010-06-101-8/+22
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Rename assert_attribute_type to asser_field_type.José Valim2010-05-161-3/+3
|
* Added assert_attribute_type to clean up GeneratedAttributeTest [#2377 ↵Jeff Kreeftmeijer2010-05-161-0/+12
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Convert to class_attributeJeremy Kemper2010-02-011-3/+4
|
* Autoload AS test caseJoshua Peek2010-01-041-5/+4
|
* Move all generators tests to use new test case syntax.José Valim2010-01-031-4/+19
|
* Create Rails::Generators::TestCase.José Valim2010-01-031-0/+224