I'm getting the following error when I run 'rake test:units' from Simply Rails 2, Chapter 6:
I've tried recreating the databases, but that still doesn't fix the problem. Anyone have any ideas of things to test?Code:ksexton@vger:~/shovell$ rake test:units (in /home/ksexton/shovell) /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb" "test/unit/story_test.rb" Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader Started EE Finished in 0.134564 seconds. 1) Error: test_should_not_be_valid_without_name(StoryTest): ActiveRecord::StatementInvalid: SQLite3::SQLException: table stories has no column named name: My shiny weblog link: INSERT INTO "stories" ("updated_at", "id", "name: My shiny weblog link", "created_at") VALUES ('2008-08-13 00:37:55', 953125641, 'poocs.net', '2008-08-13 00:37:55')



Bookmarks