aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/test_case.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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