Commit Graph

193 Commits

Author SHA1 Message Date
Jonathan Roes
8a70b2dbbb There are now 6 request methods including PATCH 2013-04-19 23:49:40 -03:00
Jonathan Roes
385edec24d Simplify ERB example code 2013-04-19 23:44:52 -03:00
Florian Thomas
615a2cb0f6 MiniTest::Unit is used instead of Test::Unit 2013-04-19 00:06:02 -03:00
Vijay Dev
b15ce4a006 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	guides/source/action_mailer_basics.md
2013-04-11 22:58:14 +05:30
Dan Erikson
f31fdce7a5 Improve some variable naming for the integration test in the testing guide. [ci skip] 2013-04-06 00:06:56 -06:00
Dan Erikson
018cc389d1 Corrected model test directory to be test/models instead of test/unit. 2013-04-06 00:01:48 -06:00
Aaron Patterson
ea3a190137 updating the guide 2013-04-05 17:13:58 -07:00
Aaron Patterson
32eff659bc just use ruby to run tests 2013-04-05 15:46:41 -07:00
Aaron Patterson
c7a148f389 removing rails test, updating docs to show how to use rake test 2013-04-05 15:44:41 -07:00
Vijay Dev
6d8c070821 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
	activerecord/test/cases/adapter_test.rb
	guides/source/testing.md

[ci skip]
2013-03-30 15:46:14 +05:30
Yves Senn
b662cb89ce move mailer testing examples into the testing guide.
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.
2013-03-25 19:46:44 +01:00
Deshi Xiao
5d5ade2b41 correct some typo in earlier commit. 2013-03-24 17:19:10 +08:00
Deshi Xiao
11c58831c3 correct test command's typo 2013-03-24 17:16:06 +08:00
Ken Collins
5be6122c39 Add minitest-spec-rails to guide's testing options 2013-03-22 10:27:41 -03:00
Yves Senn
41a14dcd10 Http::Headers directly modifies the passed environment.
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.
2013-03-15 10:13:49 +01:00
Dalibor Nasevic
df85dfa6fa Improve wording for rails test command 2013-03-09 16:03:55 -05:00
Prem Sichanugrist
176b57c543 Add support for MiniTest flags in TestRunner
Any flags that got set will be passed through to MiniTest::Unit.runner,
such as `-n`, `-s-, and `-v`.
2013-03-09 16:03:55 -05:00
Prem Sichanugrist
9f75f7735a Update testing documentation
* 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.
2013-03-09 16:03:55 -05:00
Vijay Dev
2008fe606b copy edits [ci skip] 2013-02-15 22:01:11 +05:30
Americo Savinon
6530d42dbb Detail Ruby 1.8 ships with TestUnit and Ruby 1.9 with MiniTest 2013-02-12 14:56:19 -05:00
Xavier Noria
0b5d3f3273 Merge remote-tracking branch 'docrails/master'
Conflicts:
	actionpack/lib/action_view/helpers/form_options_helper.rb
	guides/code/getting_started/app/controllers/comments_controller.rb
2013-01-26 17:41:56 +01:00
Jonathan Garvin
f58e268e38 clarify awkward sentence re: email testing 2013-01-16 19:19:31 -07:00
Yves Senn
ce8e3d3072 remove performance tests from the default stack 2013-01-10 17:09:06 +01:00
Joey Schoblaska
46af32aa50 fixed inconsistent require 'test_helper' in testing guide 2012-12-30 16:47:19 -06:00
Nishant Modak
9a497582e6 Update documentation for yml usage
Update documentation for yml usage against https://github.com/rails/rails/issues/8612
2012-12-30 02:33:57 +05:30
Katie Oldaker
7c05ea23a0 Fixed grammar in a lot of guide prologues. 2012-12-07 12:50:09 -05:00
Steve Klabnik
d16a1b9e8b Normalize on 'After reading this guide, you will know:'
We have three or four different introduction sentences to the guides.
After this commit, we use the same one everywhere.
2012-11-29 14:25:02 -08:00
Steve Klabnik
6dcae8ae9c Add periods to the bullet points in guides.
Talked with @fxn about this. Bullet points should have periods at the ends.
2012-11-29 05:14:08 -08:00
Steve Klabnik
27138386ad ActiveRecord -> Active Record
The proper name, as per the documentation guides, is 'Active Record.' I've
updated several references to it as 'ActiveRecord'.
2012-11-29 04:35:13 -08:00
Agis Anastasopoulos
e258225c8a Switch to 1.9 hash syntax (guides) 2012-11-16 21:10:27 +02:00
burningTyger
8dabfbebdb use em-dashes instead of two minuses in guides 2012-11-10 23:00:00 +01:00
Francesco Rodriguez
feb9c5f42b remove assert_valid method from testing guide [ci skip] 2012-10-18 21:38:42 -05:00
Rafael Mendonça França
9eeb00976d Revert "divided into folder with the language"
This reverts commit f5b9ed4fbc3215a5fce48985ea372ad3f1182252.

REASON: Translation work can not be done in the docrails repository
2012-10-17 10:15:55 -03:00
Rodrigo Martins
f5b9ed4fbc divided into folder with the language 2012-10-17 03:34:10 -03:00
Mike Moore
2a68f68aea Update test locations
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)
2012-10-09 17:53:56 -06:00
Prem Sichanugrist
41dbb58e2d Fix the usage of * in Markdown
In Textile `*` would convert to `<strong>`, but in Markdown we have to
use `**` instead.
2012-09-17 15:54:23 -04:00
Prem Sichanugrist
2c38567646 Convert all tables to Markdown syntax 2012-09-17 15:54:23 -04:00
Prem Sichanugrist
9873dd800b Convert all the links into Markdown format 2012-09-17 15:54:23 -04:00
Prem Sichanugrist
31ef4cf656 Convert all inline codes to Markdown syntax 2012-09-17 15:54:23 -04:00
Prem Sichanugrist
21a0b20e39 change shell to bash 2012-09-17 15:54:22 -04:00
Prem Sichanugrist
872b7af337 Convert heading tags and heading section 2012-09-17 15:54:22 -04:00
Prem Sichanugrist
7bc1ca3515 Convert code blocks into GFM style 2012-09-17 15:54:22 -04:00
Prem Sichanugrist
5137d03cc5 Rename the rest of the guides to Markdown 2012-09-17 15:54:22 -04:00