- 23 3月, 2012 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 12 2月, 2012 1 次提交
-
-
由 Vishnu Atrai 提交于
This reverts commit 7381596e.
-
- 11 2月, 2012 1 次提交
-
-
由 Karunakar (Ruby) 提交于
-
- 26 1月, 2012 1 次提交
-
-
由 Sergey Nartimov 提交于
-
- 04 1月, 2012 2 次提交
-
-
由 Jeremy Kemper 提交于
create_fixtures should accept symbol keys for custom table -> class mappings. Fixes an unintended regression.
-
由 Jeremy Kemper 提交于
setup_fixture_accessors should accept symbols for table names. Fixes an unintended (and untested) regression.
-
- 30 12月, 2011 2 次提交
-
-
由 Alexey Muranov 提交于
-
由 Alexey Muranov 提交于
Test using fixtures with random names and model names, that is not following naming conventions but using set_fixture_class instead. It is expected that the table name be defined in the model, but this is not explicitly tested here. This will need to be fixed.
-
- 27 12月, 2011 1 次提交
-
-
由 Alexey Muranov 提交于
Make sure the table name of a model is reset in a test case after assigning ActiveRecord::Base.table_name_prefix and ActiveRecord::Base.table_name_suffix.
-
- 25 12月, 2011 1 次提交
-
-
由 Sergey Nartimov 提交于
-
- 23 12月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
This reverts commit f8e484d0, reversing changes made to fa5adfb1. Reason: broke the postgres tests.
-
- 22 12月, 2011 1 次提交
-
-
由 Alexey Muranov 提交于
Make sure the table name of a model is reset in a test case after assigning ActiveRecord::Base.table_name_prefix and ActiveRecord::Base.table_name_suffix. This was somebody else's test case, so an independent opinion on the change can be helpful.
-
- 11 12月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 10 10月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Use broken YAML that will fail with Syck as well as Psych. Fixes test_broken_yaml_exception in fixtures_test.rb on Ruby 1.8.7. Cherry-pick from 3-1-stable: b8d46924
-
- 06 10月, 2011 1 次提交
-
-
由 Jeremy Kemper 提交于
You can use multiple databases in your tests without disabling transactional fixtures.
-
- 02 9月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 14 8月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Quote these dates to prevent intermittent test failure. Suppose local time is 00:50 GMT+1. Without the quoting, the YAML parser would parse this as 00:50 UTC, into the local time of 01:50 GMT+1. Then, it would get written into the database in local time as 01:50. When it came back out the UTC date from the database and the UTC date of two weeks ago would be compared. The former would be 23:50, and the latter would be 00:50, so the two dates would differ, causing the assertion to fail. Quoting it prevents the YAML parser from getting involved.
-
- 04 8月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Quote these dates to prevent intermittent test failure. Suppose local time is 00:50 GMT+1. Without the quoting, the YAML parser would parse this as 00:50 UTC, into the local time of 01:50 GMT+1. Then, it would get written into the database in local time as 01:50. When it came back out the UTC date from the database and the UTC date of two weeks ago would be compared. The former would be 23:50, and the latter would be 00:50, so the two dates would differ, causing the assertion to fail. Quoting it prevents the YAML parser from getting involved.
-
- 08 7月, 2011 1 次提交
-
-
由 Akira Matsuda 提交于
-
- 07 6月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 05 6月, 2011 2 次提交
-
-
由 Anil Wadghule 提交于
-
由 Jon Leighton 提交于
Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
-
- 24 5月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 11 5月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 08 5月, 2011 1 次提交
-
-
由 Jason Noble 提交于
[Fixes #439]
-
- 30 4月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 16 2月, 2011 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 15 2月, 2011 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
fixtures will return a list of tables that may be effected, delete existing fixtures will delete those tables
-
- 12 2月, 2011 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 30 12月, 2010 1 次提交
-
-
由 Pratik Naik 提交于
-
- 17 11月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 14 8月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
- 12 8月, 2010 1 次提交
-
-
由 Paul Hieromnimon 提交于
-
- 19 7月, 2010 1 次提交
-
-
由 Łukasz Strzałkowski 提交于
-
- 17 5月, 2010 1 次提交
-
-
由 Nobuhiro IMAI 提交于
prevent to run fixture accessor (e.g. test_foos for TestFoo model) as a test case [#2992 state:resolved] Signed-off-by: NWijnand Wiersma <wijnand@videre.net> Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 25 4月, 2010 1 次提交
-
-
由 Andrew White 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-