This project is archived and is in readonly mode.
Various test case conditions for the SQLServerAdapter
Reported by Ken Collins | August 8th, 2010 @ 04:34 AM
A few test case conditions that would be nice to have in the 3.0 release.
Comments and changes to this ticket
-
Ken Collins August 8th, 2010 @ 11:11 PM
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 August 9th, 2010 @ 02:53 AM
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 August 10th, 2010 @ 08:57 PM
I just noticed that others reported this issue in #4967 but this ticket has tested patches.
-
Henrik Hodne August 11th, 2010 @ 01:15 AM
- Tag changed from 3.0, activerecord, sqlserver to 3.0, activerecord, patch, sqlserver
-
kdgundermann September 1st, 2010 @ 08:50 AM
+1 tested on Windows with SQLServer 2005 / 2008 Necessary, else some Rails tests will fail
-
Michael Koziarski September 3rd, 2010 @ 03:59 AM
- 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 September 3rd, 2010 @ 04:08 AM
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!
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 4967 rake test fails in create_table :numeric_data on MS SQL Server I am the author for the SQL Server adapter. I had opened ...
- 4967 rake test fails in create_table :numeric_data on MS SQL Server https://rails.lighthouseapp.com/projects/8994/tickets/5333
- 4967 rake test fails in create_table :numeric_data on MS SQL Server Closing ticket as resolved since the patch submitted by K...