[rspec-devel] Postgresql Warnings (was Re: Rpec with Locomo

David Lee david at davelee.com.au
Thu Oct 12 08:06:28 EDT 2006


It may be worth mentioning I get plenty of warnings with Postgresql  
and RSpec about transactions when i run my specs - this for each  
specify block:

WARNING:  there is no transaction in progress
.WARNING:  there is already a transaction in progress
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/ 
active_record/validations.rb:300: warning: Object#type is deprecated;  
use Object#class
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/ 
active_record/validations.rb:300: warning: Object#type is deprecated;  
use Object#class
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/ 
active_record/validations.rb:300: warning: Object#type is deprecated;  
use Object#class
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/ 
active_record/validations.rb:300: warning: Object#type is deprecated;  
use Object#class
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/ 
active_record/validations.rb:300: warning: Object#type is deprecated;  
use Object#class
WARNING:  there is no transaction in progress

cheers,
David


On 12/10/2006, at 9:27 PM, Bolo Michelin wrote:

> Hello
>
> I turn off transactional_fixture
> self.use_transactional_fixtures = false
>
> But when i tested rcpec have this error
>
> pc-mq-dsi3:~/Documents/Coding-Dev/expay_corporate bmichelin$ spec  
> spec/models/faq_spec.rb
>
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> i386/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/ 
> errors.rb:94:in `check': cannot rollback - no transaction is active  
> (SQLite3::SQLException)
>
> thanks
>
> -- 
> Bolo Michelin
> web: http://www.independza.com
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-devel/attachments/20061012/257fa88f/attachment.html 


More information about the rspec-devel mailing list