maccman / holla

Holla! - Rich JavaScript Application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests fail with "no such table: chats"

auxbuss opened this issue · comments

$ 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.

If you take a look, you'll see there's no tests.

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