[rspec-users] Sqlite3, in-memory db and rspec_server
ed.howland at gmail.com
Thu Jun 21 13:32:15 EDT 2007
I can't get the above(subject line) combination to work. If I use a
standard sqlite3 file db for the test db, and spec_server all the
specs on my models pass. If I use an in-memory db for the test db,
script/spec w/o spec_server, they all pass. But if I use in-memory and
spec_server I get the following error:
ActiveRecord::StatementInvalid in 'User should be valid'
Line 5 is the User.new in the before clause.
I have tried this on various versions of things. RSpec 1.0.5, Ubuntu
6.04, Rails 1.2.3, Sqlite 3.2.8, sqlit3-ruby 1.2.1 (gem)
And on Ubuntu 7.04, Sqlite 3.3.13
"The information transmitted is intended only for the person or entity
to which it is addressed and may contain proprietary, confidential
and/or legally privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance
upon, this information by persons or entities other than the intended
recipient is prohibited. If you received this in error, please contact
the sender and delete the material from all computers."
More information about the rspec-users