Displaying 1 result from an estimated 1 matches for "documenttest".
Did you mean:
document_test
2006 Apr 11
0
Unit test is failing when I am using SQLite
...?
document_test.rb contains default scaffold and works fine with MySQL but
fails with SQLite. Other unit tests work fine with either DB.
Sergei Serdyuk
Red Leaf Software LLC
http://www.redleafsoft.com
document_test.rb:
require File.dirname(__FILE__) + ''/../test_helper''
class DocumentTest < Test::Unit::TestCase
fixtures :documents
# Replace this with your real tests.
def test_truth
assert true
end
end
error:
C:/rails/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0-mswin32
/lib/sqlite3/errors.rb:94:in `check'': SQL logic error or missing
dat...