This may be a problem in my sqlite3 setup. When running rake tests:
Loaded suite
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
Started
.E…EE…FF…E…E…
Finished in 30.888954 seconds.
-
Error:
test_create(ArticleTest):
ActiveRecord::RecordNotFound: Couldn’t find Article with ID=0
/Users/victorr/Rails/typo3992/config/…/vendor/rails/activerecord/lib/active_record/base.rb:955:in
find_one' /Users/victorr/Rails/typo3992/config/../vendor/rails/activerecord/lib/active_record/base.rb:941:in
find_from_ids’
/Users/victorr/Rails/typo3992/config/…/vendor/rails/activerecord/lib/active_record/base.rb:382:in
find' ./test/unit/article_test.rb:36:in
test_create’ -
Error:
test_future_publishing(ArticleTest):
NoMethodError: You have a nil object when you didn’t expect it!
The error occured while evaluating nil.publish!
Among others.
In a checked out svn tree running mysql - all the tests work just fine.
Thoughts?