- 20 8月, 2014 1 次提交
-
-
由 Cristian Bica 提交于
-
- 04 8月, 2014 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 03 8月, 2014 1 次提交
-
-
由 yuuji.yaginuma 提交于
-
- 16 7月, 2014 2 次提交
-
-
由 Jonas Baumann 提交于
-
由 Jonas Baumann 提交于
-
- 13 7月, 2014 1 次提交
-
-
由 Gaurish Sharma 提交于
-
- 09 7月, 2014 1 次提交
-
-
由 Nishant Modak 提交于
-
- 30 6月, 2014 1 次提交
-
-
由 Nick Pellant 提交于
Currently there is no implicit conversion for Mail::Body to string therefore .to_s must be applied. This is exampled in 10.2.2.
-
- 27 6月, 2014 1 次提交
-
-
由 Robin Dupret 提交于
-
- 17 6月, 2014 1 次提交
-
-
由 Timm 提交于
-
- 16 6月, 2014 1 次提交
-
-
由 Timm 提交于
-
- 02 6月, 2014 2 次提交
-
-
由 schneems 提交于
When you manually specify `id:` attribute in a fixture Rails' built in association assignment feature will no longer work. http://stackoverflow.com/questions/23985675/incorrect-association-in-fixtures This commit raises awareness of this behavior and encourages developers to look directly at the fixture documentation.
-
由 schneems 提交于
The fixtures API docs are really comprehensive. We should either be driving people there, or perhaps making fixtures its own guide.
-
- 30 5月, 2014 1 次提交
-
-
由 Leandro Facchinetti 提交于
The Guide references `test/unit`, which has been replaced by `Minitest` in all versions of Ruby supported by Rails. The following updates were performed: * The superclass of `ActiveSupport::TestCase` is no longer `MiniTest::Unit::TestCase`, but `Minitest::Test` [1]. * The preferred spelling is `Minitest`, not `MiniTest` [2]. * For a method to be a test in Minitest, its name must start with `test_`, not only `test` [3]. * Explanations about `test/unit` in Ruby 1.8 were removed in favor of more up-to-date information on `Minitest`. [1]: https://github.com/rails/rails/blob/6c2b569660c9216595d02ce6412e3bdcc7293317/activesupport/lib/active_support/test_case.rb#L18 [2]: https://github.com/seattlerb/minitest/blob/d5d43cef9a3fd4a0eea972dde125ed5ba1ddb821/lib/minitest.rb#L9 [3]: https://github.com/seattlerb/minitest/blob/d5d43cef9a3fd4a0eea972dde125ed5ba1ddb821/lib/minitest/test.rb#L62
-
- 25 5月, 2014 1 次提交
-
-
由 Xavier Noria 提交于
I don't know when this changed, checked back up to 3.2 and integration tests instantiate fixtures just fine.
-
- 22 5月, 2014 1 次提交
-
-
由 John Kelly Ferguson 提交于
-
- 20 5月, 2014 1 次提交
-
-
由 Josef Šimánek 提交于
[ci skip]
-
- 17 5月, 2014 1 次提交
-
-
由 Hendy Tanata 提交于
[skip ci]
-
- 09 4月, 2014 1 次提交
-
-
由 Gaurish Sharma 提交于
-
- 20 2月, 2014 1 次提交
-
-
由 Greg Molnar 提交于
-
- 12 2月, 2014 1 次提交
-
-
由 Prathamesh Sonpatki 提交于
[Testing Guide] Explain usage of assert_redirected_to with named routes and Active Record objects [ci skip]
-
- 10 2月, 2014 1 次提交
-
-
由 Yves Senn 提交于
This was a reaction to: https://github.com/rails/rails/pull/9700#issuecomment-34550210
-
- 08 2月, 2014 1 次提交
-
-
由 Prathamesh Sonpatki 提交于
-
- 05 2月, 2014 1 次提交
-
-
由 Arun Agrawal 提交于
As discussed in #13940 this can be removed We can document this somewhere else in testing guides.
-
- 04 2月, 2014 1 次提交
-
-
由 Greg Molnar 提交于
-
- 03 2月, 2014 1 次提交
-
-
由 Calvin Tam 提交于
-
- 24 1月, 2014 1 次提交
-
-
由 Vipul A M 提交于
-
- 02 1月, 2014 1 次提交
-
-
由 Jon Leighton 提交于
* Move check from generated helper to test_help.rb, so that all applications can benefit * Rather than just raising when the test schema has pending migrations, try to load in the schema and only raise if there are pending migrations afterwards * Opt out of the check by setting config.active_record.maintain_test_schema = false * Deprecate db:test:* tasks. The test helper is now fully responsible for maintaining the test schema, so we don't need rake tasks for this. This is also a speed improvement since we're no longer reloading the test database on every call to "rake test".
-
- 27 12月, 2013 1 次提交
-
-
由 Yves Senn 提交于
-
- 30 11月, 2013 1 次提交
-
-
由 Paul Nikitochkin 提交于
[ci skip]
-
- 10 11月, 2013 1 次提交
-
-
由 Jens Dahl Møllerhøj 提交于
instead of 'rake test' as shortcut, use 'rake'. Closes #12780 [ci skip]
-
- 05 11月, 2013 1 次提交
-
-
由 Yves Senn 提交于
-
- 03 10月, 2013 1 次提交
-
-
由 Geoffrey Roguelon 提交于
Replace the word «Accepts» by «Accept» in the example of custom request headers.
-
- 20 9月, 2013 1 次提交
-
-
由 Yves Senn 提交于
-
- 07 9月, 2013 1 次提交
-
-
由 Paul Nikitochkin 提交于
* 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]
-
- 23 8月, 2013 1 次提交
-
-
由 Xavier Noria 提交于
-
- 14 8月, 2013 1 次提交
-
-
由 Yves Senn 提交于
-
- 02 7月, 2013 1 次提交
-
-
由 Cesar Carruitero 提交于
-
- 26 6月, 2013 1 次提交
-
-
由 Robin Dupret 提交于
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.
-
- 14 6月, 2013 1 次提交
-
-
由 Vijay Dev 提交于
-