[rspec-devel] [ rspec-Bugs-6266 ] Failures with Sqlite3 as test DB with rails

noreply at rubyforge.org noreply at rubyforge.org
Sun Oct 22 08:28:49 EDT 2006


Bugs item #6266, was opened at 2006-10-22 01:59
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=6266&group_id=797

Category: None
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Failures with Sqlite3 as test DB with rails

Initial Comment:
$ spec -fs spec/models/

A new paste
/opt/local/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)
        from /opt/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/resultset.rb:76:in `check'
        from /opt/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/resultset.rb:68:in `commence'
        from /opt/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/resultset.rb:61:in `initialize'
        from /opt/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/statement.rb:158:in `execute'
        from /opt/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/database.rb:211:in `execute'
        from /opt/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/database.rb:186:in `prepare'
        from /opt/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/database.rb:210:in `execute'
        from /opt/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/database.rb:620:in `rollback'
         ... 13 levels...
        from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.6.4/lib/spec/runner/context_runner.rb:25:in `run'
        from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.6.4/lib/spec/runner/context_runner.rb:24:in `run'
        from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.6.4/bin/spec:18
        from /opt/local/bin/spec:18

----------------------------------------------------------------------

>Comment By: Aslak Hellesoy (aslak_hellesoy)
Date: 2006-10-22 08:28

Message:
That's just too little info to reproduce this behaviour.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=6266&group_id=797


More information about the rspec-devel mailing list