Tests fail with "no such table: chats"
auxbuss opened this issue · comments
Marc Cooper commented
$ bundle exec rake test
results in:
4 tests, 0 assertions, 0 failures, 4 errors, 0 skips
Test run options: --seed 29828
Errors running test:units, test:functionals!
First is:
1) Error:
test_the_truth(ChannelTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: chats:
DELETE FROM "chats" WHERE 1=1
The other 3 fail for the same reason.
Alex MacCaw commented
If you take a look, you'll see there's no tests.
Marc Cooper commented
Oh, I did that :)
Looking more closely, it appears that the "chat"-related files are superfluous, so I deleted them. Namely:
test/fixtures/chats.yml
test/functional/chat_controller_test.rb
test/unit/chat_test.rb