Rafael Mendonça França
|
feb1ddae02
|
Merge remote-tracking branch 'origin/master' into unlock-minitest
|
2017-08-01 17:34:14 -04:00 |
|
Kir Shatrov
|
831be98f9a
|
Use frozen-string-literal in ActiveRecord
|
2017-07-19 22:27:07 +03:00 |
|
Matthew Draper
|
87b3e226d6
|
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
This reverts commit 3420a14590 , reversing
changes made to afb66a5a59 .
|
2017-07-02 02:15:17 +09:30 |
|
Kir Shatrov
|
cfade1ec7e
|
Enforce frozen string in Rubocop
|
2017-07-01 02:11:03 +03:00 |
|
Kasper Timm Hansen
|
e1758b5e8c
|
Merge branch 'master' into unlock-minitest
|
2017-05-29 20:37:35 +02:00 |
|
bogdanvlviv
|
40bdbce191
|
Define path with __dir__
".. with __dir__ we can restore order in the Universe." - by @fxn
Related to 5b8738c2df
|
2017-05-23 00:53:51 +03:00 |
|
Rafael Mendonça França
|
ee9e08679a
|
Run ReloadModelTest in a different proccess
This will make sure it doesn't change the state of the current proccess
when removing the owners constant.
|
2017-04-27 01:23:50 -07:00 |
|
Xavier Noria
|
9617db2078
|
applies new string literal convention in activerecord/test
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
|
2016-08-06 18:26:53 +02:00 |
|
Diego Carrion
|
bf192fbda4
|
fix test not failing when executed isolated
the test was created in 7659fb6
the fixtures were added in c092dbe
|
2015-06-19 16:02:12 -03:00 |
|
Guillermo Iguaran
|
8aebe30ef4
|
Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by"
This reverts commit 637a7d9d35 , reversing
changes made to 5937bd02de .
|
2013-01-18 09:15:19 -05:00 |
|
robertomiranda
|
7baecc4802
|
User Rails 4 find_by
|
2013-01-18 07:56:05 -05:00 |
|
Aaron Patterson
|
61774e0d49
|
please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT
|
2011-06-06 15:47:13 -07:00 |
|
Jon Leighton
|
253bb6b926
|
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.
|
2011-06-04 23:47:03 +01:00 |
|
Emilio Tagua
|
c092dbef50
|
Add missing fixture to allow reload models test to run isolated [#1609 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-12-20 20:39:25 +00:00 |
|
Lawrence Pit
|
7659fb6a2b
|
Try reloading model on class mismatch [#229 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-10-04 17:49:38 +01:00 |
|