On Friday, March 16, 2012 1:40:39 PM UTC-7, Doug Tykocki wrote:
>
>  Yup that fixed it, no TDS errors here. 
> DB[:table].group_and_count(:column).group_rollup generated: SELECT 
> [column], count(*) AS [COUNT] FROM [table] GROUP BY [column] WITH ROLLUP. 
> On a slightly unrelated note, we use SQL Server 2005 exclusively and I 
> would like to run the test suite from time to time and possibly apply fixes 
> if needed. Do I need to do anything special to run the specs against a 
> database or will rake spec just automagically work? :)


"rake spec" runs the core/model specs only, it does not run the adapter 
specs (it tests against a mock database).  You should set the 
SEQUEL_MSSQL_SPEC_DB environment variable to the appropriate connection 
string, and then run "rake spec_mssql". See 
http://sequel.rubyforge.org/rdoc/files/doc/testing_rdoc.html for more 
details.

I'd definitely appreciate more people running the integration test suite.  
I test on many different combinations of ruby interpreters and adapters, 
but obviously I can test everything.

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/AVgaSUHIpK4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to