This project is archived and is in readonly mode.
Various test case conditions for the SQLServerAdapter
-
Ken Collins
Doh! Forgot to attach the patch.
-
Ken Collins
I am going to continue to keep coerced test cases in the adapters code, however I do need this change (new patch attached) to the schema.rb so that it loads up correctly. We are using the same precision for atoms_in_universe as the Oracle adapter.
-
Ken Collins
Wow, another schema bug found. I found items.name was an :integer vs a :string data type which caused fixtures to blow up when running tests. Updated patch attached.
-
Ken Collins
I just noticed that others reported this issue in #4967 rake test fails in create_table :numeric_data on MS SQL Server but this ticket has tested patches.
-
Henrik Hodne
- Tag changed from 3.0, activerecord, sqlserver to 3.0, activerecord, patch, sqlserver
-
kdgundermann
+1 tested on Windows with SQLServer 2005 / 2008 Necessary, else some Rails tests will fail
-
Michael Koziarski
- State changed from new to committed
- Importance changed from to Low
The first one doesn't apply any longer, is it still required?
Your later one has been applied to master and 3-0-stable.
-
Ken Collins
Correct, the first file is no longer needed. We dynamically redefine the test cases needed for the adapter vs cluttering the rails test suite with our stuff. Allows us to cope with out own internal changes and DB versions more easily.
Thanks for this and your commit on 5188!
