Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT | Aaron Patterson | 2011-06-06 | 1 | -1/+1 |
| | |||||
* | Refactor Active Record test connection setup. Please see the ↵ | Jon Leighton | 2011-06-04 | 1 | -1/+1 |
| | | | | 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. | ||||
* | removing CSV fixture support | Aaron Patterson | 2011-05-23 | 1 | -6/+0 |
| | |||||
* | deprecating CSV fixture support | Aaron Patterson | 2011-05-10 | 1 | -1/+3 |
| | |||||
* | Namespace Fixtures in ActiveRecord | Jason Noble | 2011-05-07 | 1 | -21/+21 |
| | | | [Fixes #439] | ||||
* | making sure the `create_fixtures` method works to prevent regressions | Aaron Patterson | 2011-04-29 | 1 | -0/+5 |
| | |||||
* | fixture methods can be overridden and super() is useful | Aaron Patterson | 2011-02-15 | 1 | -0/+15 |
| | |||||
* | fixing variable names, removing FixtureFile instances from test ivars | Aaron Patterson | 2011-02-15 | 1 | -6/+0 |
| | |||||
* | create_fixtures() should always return a list | Aaron Patterson | 2011-02-11 | 1 | -5/+5 |
| | |||||
* | favor composition over inheritence. use AS::OrderedHash rather than omap | Aaron Patterson | 2011-02-11 | 1 | -1/+1 |
| | |||||
* | Make serialized fixtures work again | Pratik Naik | 2010-12-29 | 1 | -1/+6 |
| | |||||
* | removing many unused variables | Aaron Patterson | 2010-11-16 | 1 | -3/+3 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -8/+8 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Raising exception if fixture file can't be found | Paul Hieromnimon | 2010-08-11 | 1 | -0/+11 |
| | |||||
* | Removed warnings when a variable is shadowed | Łukasz Strzałkowski | 2010-07-19 | 1 | -3/+3 |
| | |||||
* | prevent to run fixture accessor (e.g. test_foos for TestFoo model) as a test ↵ | Nobuhiro IMAI | 2010-05-16 | 1 | -0/+5 |
| | | | | | | | case [#2992 state:resolved] Signed-off-by: Wijnand Wiersma <wijnand@videre.net> Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Support fixtures for namespaced models [#2965 state:resolved] | Andrew White | 2010-04-25 | 1 | -1/+9 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | fix a failure and some warnings on 1.9.2 [#4417 state:resolved] | Aaron Patterson | 2010-04-16 | 1 | -1/+1 |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | squelching more warnings in the AR tests. [#4218 state:resolved] | Aaron Patterson | 2010-03-18 | 1 | -6/+6 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | reduce max size of fixture IDs to fix sqlite2 tests, because sqlite2 was ↵ | Chad Woolley | 2010-01-12 | 1 | -2/+2 |
| | | | | | | getting negative and changing values for ID field. See http://www.sqlite.org/datatypes.html Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Fix binary fixture test on Windows | Rob | 2009-08-08 | 1 | -1/+1 |
| | | | | | | [#2597 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Reimplement Fixtures.identify so that it consistently generates identities ↵ | Ken Collins | 2009-05-18 | 1 | -0/+5 |
| | | | | | | | | across ruby versions. [#2633 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 1 | -2/+2 |
| | | | | [#1617 state:resolved] | ||||
* | Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha. | Jeremy Kemper | 2009-02-03 | 1 | -17/+13 |
| | |||||
* | Update AR tests | Jeremy Kemper | 2008-11-07 | 1 | -4/+4 |
| | |||||
* | Fix file permissions | Tarmo Tänav | 2008-07-31 | 1 | -0/+0 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Move the transaction counter to the connection object rather than ↵ | Jonathan Viney | 2008-07-15 | 1 | -3/+3 |
| | | | | | | | maintaining it on the current Thread. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#533 state:resolved] | ||||
* | Make fixture accessors work when fixture name is not same as the table name. ↵ | Rhett Sutphin | 2008-07-14 | 1 | -0/+29 |
| | | | | | | [#124 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix tests broken by mocha absence [#186 state:resolved] | Tim Pope | 2008-05-13 | 1 | -9/+11 |
| | | | | | | | Two ActiveRecord tests depended on mocha but were not marked as such. Place them in a use_mocha block so the test suite passes. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fixed fixture caching with prefixed or suffixed tables. | Rhett Sutphin | 2008-04-30 | 1 | -0/+4 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Ruby 1.9 compat: force encoding for binary comparison tests | Jeremy Kemper | 2008-04-01 | 1 | -1/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9193 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat: delete DEFAULTS key from Hash not Omap array | Jeremy Kemper | 2008-04-01 | 1 | -1/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9: mark failing assertion | Jeremy Kemper | 2008-03-30 | 1 | -0/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix some mistaken dependencies among AR unit tests. Closes #11425 ↵ | Jeremy Kemper | 2008-03-28 | 1 | -1/+1 |
| | | | | | | [thechrisoshow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Make sure ActiveRecord tests can run individually. Closes #11425 ↵ | Pratik Naik | 2008-03-28 | 1 | -0/+12 |
| | | | | | | [thechrisoshow, h-lame] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen] | Rick Olson | 2008-03-24 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added logging for dependency load errors with fixtures (closes #11056) ↵ | David Heinemeier Hansson | 2008-03-17 | 1 | -0/+14 |
| | | | | | | [stuthulhu] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails | Jeremy Kemper | 2008-01-21 | 1 | -29/+27 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix paths | Jeremy Kemper | 2008-01-18 | 1 | -23/+23 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Move tests to cases | Jeremy Kemper | 2008-01-18 | 1 | -0/+594 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |