Sha256: f825e513dd149eded066e68bea8fa83152151258276b103323a404908029ea45

Contents?: true

Size: 1.28 KB

Versions: 10

Compression:

Stored size: 1.28 KB

Contents

== Creating the test database

The default names for the test databases are "activerecord_unittest" and 
"activerecord_unittest2". If you want to use another database name then be sure 
to update the connection adapter setups you want to test with in 
test/connections/<your database>/connection.rb. Define a user named 'rails' 
in SQL Server with all privileges granted for the test databases. Use an empty 
password for said user.

The connection files make certain assumptions. For instance, the ODBC connection 
assumes you have a DSN setup that matches the name of the default database names.
Review the test/connections/native_sqlserver_#{mode} file you are testing for details.


== Requirements

Get the development dependencies.

  $ bundle install

The tests of this adapter depend on the existence of rails checkout. Make sure 
to checkout remotes/origin/2-3-stable, I suggest using the git_remote_branch to 
create a personal tracking branch. Then make a local topic branch off of that like
2-3-stable_sqlserver and commit this patch https://gist.github.com/761508 or you 
will have around 90 some errors like this.

  "Conversion failed when converting the nvarchar value 'Godfather' to data 
   type int.: INSERT INTO [items] ([name], [id]) VALUES (N'Godfather', 1)



Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
activerecord-sqlserver-adapter-2.3.24 RUNNING_UNIT_TESTS
activerecord-sqlserver-adapter-2.3.23 RUNNING_UNIT_TESTS
activerecord-sqlserver-adapter-2.3.22 RUNNING_UNIT_TESTS
activerecord-sqlserver-adapter-2.3.21 RUNNING_UNIT_TESTS
activerecord-sqlserver-adapter-2.3.20 RUNNING_UNIT_TESTS
activerecord-sqlserver-adapter-2.3.19 RUNNING_UNIT_TESTS
activerecord-sqlserver-adapter-2.3.18 RUNNING_UNIT_TESTS
activerecord-sqlserver-adapter-2.3.17 RUNNING_UNIT_TESTS
activerecord-sqlserver-adapter-2.3.16 RUNNING_UNIT_TESTS
activerecord-sqlserver-adapter-2.3.15 RUNNING_UNIT_TESTS