Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use Ruby on Rails Coding Conventions for code examples in the guides | Paul Nikitochkin | 2013-09-06 | 1 | -19/+18 |
| | | | | | | | | * Indent after private/protected * Ruby >= 1.9 syntax for hashes * Prefer method { do_stuff } instead of method{do_stuff} for single-line blocks. [ci skip] | ||||
* | cleans the guides sources from fancy non-ASCII stuff | Xavier Noria | 2013-08-23 | 1 | -1/+1 |
| | |||||
* | Merge pull request #11059 from robin850/improve-test-guide | Xavier Noria | 2013-08-16 | 1 | -6/+64 |
|\ | | | | | Improve the testing guide [ci skip] | ||||
| * | Improve the testing guide [ci skip] | Robin Dupret | 2013-06-25 | 1 | -6/+64 |
| | | | | | | | | | | | | | | | | | | Improve the "Testing Rails Applications" guide adding a section for testing helpers and a little note about associations with ActiveRecord and YAML fixtures. Also add a link to Fixture Builder ; yet another replacement for fixtures such as Machinist or FactoryGirl. | ||||
* | | document `assert_not_XYZ` in place of `refute_XYZ`. | Yves Senn | 2013-08-14 | 1 | -10/+10 |
| | | |||||
* | | update test names in testing guide [ci-skip] | Cesar Carruitero | 2013-07-02 | 1 | -2/+2 |
|/ | |||||
* | copy edits [ci skip] | Vijay Dev | 2013-06-14 | 1 | -2/+2 |
| | |||||
* | Remove references to deprecated test tasks | Sunny Ripert | 2013-05-28 | 1 | -7/+0 |
| | |||||
* | Remove double spaces in guides | Sunny Ripert | 2013-05-28 | 1 | -5/+5 |
| | |||||
* | Consistent use of one space only after punctuation | Sunny Ripert | 2013-05-28 | 1 | -2/+2 |
| | |||||
* | End-of-line whitespace hunt | Sunny Ripert | 2013-05-28 | 1 | -1/+1 |
| | |||||
* | copy edits [ci skip] | Vijay Dev | 2013-05-01 | 1 | -1/+1 |
| | |||||
* | fixes typo in testing guide | Florian Thomas | 2013-04-21 | 1 | -1/+1 |
| | |||||
* | Updates list of assertions in testing guide | Florian Thomas | 2013-04-21 | 1 | -12/+19 |
| | |||||
* | There are now 6 request methods including PATCH | Jonathan Roes | 2013-04-19 | 1 | -1/+1 |
| | |||||
* | Simplify ERB example code | Jonathan Roes | 2013-04-19 | 1 | -2/+2 |
| | |||||
* | MiniTest::Unit is used instead of Test::Unit | Florian Thomas | 2013-04-19 | 1 | -2/+3 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-04-11 | 1 | -7/+7 |
|\ | | | | | | | | | Conflicts: guides/source/action_mailer_basics.md | ||||
| * | Improve some variable naming for the integration test in the testing guide. ↵ | Dan Erikson | 2013-04-06 | 1 | -5/+5 |
| | | | | | | | | [ci skip] | ||||
| * | Corrected model test directory to be test/models instead of test/unit. | Dan Erikson | 2013-04-06 | 1 | -2/+2 |
| | | |||||
* | | updating the guide | Aaron Patterson | 2013-04-05 | 1 | -5/+5 |
| | | |||||
* | | just use ruby to run tests | Aaron Patterson | 2013-04-05 | 1 | -4/+4 |
| | | |||||
* | | removing `rails test`, updating docs to show how to use `rake test` | Aaron Patterson | 2013-04-05 | 1 | -14/+14 |
|/ | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-03-30 | 1 | -6/+7 |
|\ | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb activerecord/test/cases/adapter_test.rb guides/source/testing.md [ci skip] | ||||
| * | correct some typo in earlier commit. | Deshi Xiao | 2013-03-24 | 1 | -1/+1 |
| | | |||||
| * | correct test command's typo | Deshi Xiao | 2013-03-24 | 1 | -13/+13 |
| | | |||||
| * | Add minitest-spec-rails to guide's testing options | Ken Collins | 2013-03-22 | 1 | -0/+1 |
| | | |||||
* | | move mailer testing examples into the testing guide. | Yves Senn | 2013-03-25 | 1 | -11/+24 |
| | | | | | | | | | | | | | | | | Closes #9325. I adjusted the example and the description in the testing guide and simply linked from the mailer to the testing guide. This way we don't have to maintain two separate places. | ||||
* | | `Http::Headers` directly modifies the passed environment. | Yves Senn | 2013-03-15 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | The env hash passed to `Http::Headers#new` must be in env format. Also be aware that the passed hash is modified directly. docs and test-cases for setting headers/env in functional tests. Follow up to #9700. | ||||
* | | Improve wording for rails test command | Dalibor Nasevic | 2013-03-09 | 1 | -4/+3 |
| | | |||||
* | | Add support for MiniTest flags in TestRunner | Prem Sichanugrist | 2013-03-09 | 1 | -20/+5 |
| | | | | | | | | | | Any flags that got set will be passed through to MiniTest::Unit.runner, such as `-n`, `-s-, and `-v`. | ||||
* | | Update testing documentation | Prem Sichanugrist | 2013-03-09 | 1 | -63/+71 |
|/ | | | | | | | * Update test invocation to use `rails test` instead. * Update all the test command previews (since we're now using MiniTest.) * Mentioning MiniTest instead of Test::Unit. * Update list of test suites. | ||||
* | copy edits [ci skip] | Vijay Dev | 2013-02-15 | 1 | -2/+2 |
| | |||||
* | Detail Ruby 1.8 ships with TestUnit and Ruby 1.9 with MiniTest | Americo Savinon | 2013-02-12 | 1 | -1/+4 |
| | |||||
* | Merge remote-tracking branch 'docrails/master' | Xavier Noria | 2013-01-26 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_options_helper.rb guides/code/getting_started/app/controllers/comments_controller.rb | ||||
| * | clarify awkward sentence re: email testing | Jonathan Garvin | 2013-01-16 | 1 | -1/+1 |
| | | |||||
* | | remove performance tests from the default stack | Yves Senn | 2013-01-10 | 1 | -4/+2 |
|/ | |||||
* | fixed inconsistent `require 'test_helper'` in testing guide | Joey Schoblaska | 2012-12-30 | 1 | -1/+1 |
| | |||||
* | Update documentation for yml usage | Nishant Modak | 2012-12-30 | 1 | -1/+1 |
| | | | Update documentation for yml usage against https://github.com/rails/rails/issues/8612 | ||||
* | Fixed grammar in a lot of guide prologues. | Katie Oldaker | 2012-12-07 | 1 | -3/+3 |
| | |||||
* | Normalize on 'After reading this guide, you will know:' | Steve Klabnik | 2012-11-29 | 1 | -1/+3 |
| | | | | | We have three or four different introduction sentences to the guides. After this commit, we use the same one everywhere. | ||||
* | Add periods to the bullet points in guides. | Steve Klabnik | 2012-11-29 | 1 | -3/+3 |
| | | | | Talked with @fxn about this. Bullet points should have periods at the ends. | ||||
* | ActiveRecord -> Active Record | Steve Klabnik | 2012-11-29 | 1 | -2/+2 |
| | | | | | The proper name, as per the documentation guides, is 'Active Record.' I've updated several references to it as 'ActiveRecord'. | ||||
* | Switch to 1.9 hash syntax (guides) | Agis Anastasopoulos | 2012-11-16 | 1 | -16/+16 |
| | |||||
* | use em-dashes instead of two minuses in guides | burningTyger | 2012-11-10 | 1 | -1/+1 |
| | |||||
* | remove assert_valid method from testing guide [ci skip] | Francesco Rodriguez | 2012-10-18 | 1 | -3/+0 |
| | |||||
* | Revert "divided into folder with the language" | Rafael Mendonça França | 2012-10-17 | 1 | -0/+981 |
| | | | | | | This reverts commit f5b9ed4fbc3215a5fce48985ea372ad3f1182252. REASON: Translation work can not be done in the docrails repository | ||||
* | divided into folder with the language | Rodrigo Martins | 2012-10-17 | 1 | -981/+0 |
| | |||||
* | Update test locations | Mike Moore | 2012-10-09 | 1 | -13/+17 |
| | | | | | | | | | | | | | | Change the default test locations to avoid confusion around the common testing terms "unit" and "functional". Add new rake tasks for the new locations, while maintaining backwards compatibility with the old rake tasks. New testing locations are as follows: app/models -> test/models (was test/units) app/helpers -> test/helpers (was test/units/helpers) app/controllers -> test/controllers (was test/functional) app/mailers -> test/mailers (was test/functional) | ||||
* | Fix the usage of `*` in Markdown | Prem Sichanugrist | 2012-09-17 | 1 | -1/+1 |
| | | | | | In Textile `*` would convert to `<strong>`, but in Markdown we have to use `**` instead. |