- 31 1月, 2016 2 次提交
- 23 1月, 2016 1 次提交
-
-
由 Vipul A M 提交于
- Grammar fixes - Wordsmitting - Fixed wrong statement about association usage in fixtures - Changed association name from 'one' to 'first' instead - More consistent usage of we/our - Mentions assert_select is below, not already covered in Integration test. [ci skip]
-
- 22 1月, 2016 1 次提交
-
-
由 Vipul A M 提交于
- Grammar improvements - Consistent usage of you or we in sentences - Tests can have zero or more assertions. Its not mandatory to have one. - Example for assert_send [ci skip]
-
- 20 1月, 2016 1 次提交
-
-
由 Gaurav Sharma 提交于
I go through the `http://edgeguides.rubyonrails.org/` and found `rake` commands in various files that are in RAILS 5.0 implement by `bin/rails` command. I try to change all that can be directly use `bin/rails …`
-
- 31 12月, 2015 1 次提交
-
-
由 Sean Collins 提交于
-
- 17 12月, 2015 1 次提交
-
-
由 Genadi Samokovarov 提交于
This is a pass over the documentation which fills the missing gaps of `ApplicationRecord`. [ci skip]
-
- 13 12月, 2015 2 次提交
-
-
由 Kasper Timm Hansen 提交于
Tiny typo in the testing guide; articules should be articles.
-
由 eileencodes 提交于
In Rails 5.1 `ActionController::TestCase` will be moved out of Rails into it's own gem. Please use `ActionDispatch::IntegrationTest` going foward. Because this will be moved to a gem I used `# :stopdoc:` instead of deleting the documentation. This will remove it from the Rails documentation but still leave the method documented for when we move it to a gem. Guides have been updated to use the routing structure used in Integration and all test examples have been updated to inherit from `ActionDispatch::IntegrationTest` instead of `ActionController::TestCase. Fixes #22496
-
- 19 11月, 2015 1 次提交
-
-
由 Yves Senn 提交于
[ci skip] Since the "Getting Started" guide no longer uses the scaffold generator we should rewrite references to that in the testing guide. The functional testing section was quite heavily based on such a scaffold test. I changed it to use `generate scaffold_controller` instead so that we can build up on the model foundation we already have.
-
- 16 11月, 2015 1 次提交
-
-
由 Vijay Dev 提交于
-
- 14 11月, 2015 1 次提交
-
-
由 Gaurish Sharma 提交于
-
- 09 11月, 2015 2 次提交
-
-
由 Gaurish Sharma 提交于
-
由 Gaurish Sharma 提交于
-
- 04 11月, 2015 1 次提交
-
-
由 Ken Collins 提交于
As discussed in the minitest-spec-rails issue (http://git.io/vlHxx) Rails uses setup/teardown callbacks. Defining `setup` or `teardown` methods vs. blocks will yield inconsistent behavior in the callback chain.
-
- 07 10月, 2015 1 次提交
-
-
由 Ronak Jangir 提交于
-
- 05 9月, 2015 1 次提交
-
-
由 Juanito Fatas 提交于
-
- 28 8月, 2015 1 次提交
-
-
由 Konstantinos Rousis 提交于
-
- 25 8月, 2015 1 次提交
-
-
由 Robin Dupret 提交于
* Fixtures are loaded for all the tests by default (not only model and controller tests). * Fix a few typos and improve the markup at some levels. * Wrap changes to 80 chars [ci skip]
-
- 17 8月, 2015 1 次提交
-
-
由 Zachary Scott 提交于
[ci skip] Better reading flow for the information presented in this guide. The first part is written in a similar fashion as the "Getting Started Guide" and can be read from start to finish. The second section introduces the different testing components that Rails provides and explains how and when to use them. The guide is still work in progress.
-
- 16 8月, 2015 1 次提交
-
-
由 Robin Dupret 提交于
* Add missing `def` and remove useless `do` keywords. * Move `:nodoc:` in front of the methods' definition so that methods under these ones are correctly visible on the API.
-
- 15 8月, 2015 1 次提交
-
-
由 Alexey Markov 提交于
-
- 21 7月, 2015 1 次提交
-
-
由 Dave Powers 提交于
[ci skip]
-
- 15 7月, 2015 1 次提交
-
-
由 Aditya Kapoor 提交于
-
- 13 6月, 2015 1 次提交
-
-
由 Staphany Park 提交于
I think people would find it useful to know that you can pass in multiple fixture names to get an array of all the fixtures. I've found this useful in my own app. It looks like there already a test case that supports this feature (https://github.com/rails/rails/blob/master/activerecord/test/cases/fixtures_test.rb#L398), but it's just not documented here. I look forward to your feedback!
-
- 30 5月, 2015 1 次提交
-
-
由 Guo Xiang Tan 提交于
-
- 28 5月, 2015 1 次提交
-
-
由 Hiromichi Yamada 提交于
-
- 22 5月, 2015 1 次提交
-
-
由 Eliot Sykes 提交于
-
- 20 5月, 2015 2 次提交
-
-
由 Arun Agrawal 提交于
For more details see #20222
-
由 Gaurav Sharma 提交于
-
- 15 5月, 2015 1 次提交
-
-
由 Benjamin Klotz 提交于
Mention that view tests are made in controller tests.
-
- 10 5月, 2015 1 次提交
-
-
由 yui-knk 提交于
-
- 28 4月, 2015 1 次提交
-
-
由 Yves Senn 提交于
Rails has different naming conventions for the inverse assertion methods. While minitest uses `refute` we use `_not`. We should have a table listing the common assertions that you want to use in the Rails context. Refs #18305.
-
- 31 3月, 2015 5 次提交
-
-
由 Kir Shatrov 提交于
-
由 Kir Shatrov 提交于
-
由 Kir Shatrov 提交于
-
由 Kir Shatrov 提交于
-
由 Hendy Tanata 提交于
-
- 30 3月, 2015 1 次提交
-
-
由 Kir Shatrov 提交于
rails/rails#18305
-
- 26 3月, 2015 1 次提交
-
-
由 Kyle Oba 提交于
* Add conjunction for clarity. * Add comma between independent clauses: create command, and generation of fixtures.
-