Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

primos
6,465 PointsTesting the statuses controller
I have a problem passing this lesson. I've done (I think so) everything correct but I don't see where is the problem. Thank's for help! jure@Jure-PC:~/projects/treebook$ ruby -Itest test/functional/statuses_controller_test.rb Run options:
Running tests:
EEEEEEEE
Finished tests in 0.187423s, 42.6841 tests/s, 0.0000 assertions/s.
1) Error:
test_should_be_redirected_when_not_logged_in(StatusesControllerTest):
ActiveRecord::StatementInvalid: Could not find table 'users'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:472:in table_structure'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:346:in
columns'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:660:in column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:652:in
timestamp_column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:585:in block in table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in map'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:494:in block (3 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in block (2 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in
transaction'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:491:in block in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract_adapter.rb:168:in
disable_referential_integrity'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:476:in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:895:in
load_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:849:in setup_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:429:in
run4386733341067863740setup4059869952880884065callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `_run_callback'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in _run_setup_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in
run_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/testing/setup_and_teardown.rb:35:in `run'
2) Error:
test_should_create_status(StatusesControllerTest):
ActiveRecord::StatementInvalid: Could not find table 'users'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:472:in table_structure'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:346:in
columns'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:660:in column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:652:in
timestamp_column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:585:in block in table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in map'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:494:in block (3 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in block (2 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in
transaction'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:491:in block in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract_adapter.rb:168:in
disable_referential_integrity'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:476:in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:895:in
load_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:849:in setup_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:429:in
run4386733341067863740setup4059869952880884065callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `_run_callback'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in _run_setup_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in
run_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/testing/setup_and_teardown.rb:35:in `run'
3) Error:
test_should_destroy_status(StatusesControllerTest):
ActiveRecord::StatementInvalid: Could not find table 'users'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:472:in table_structure'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:346:in
columns'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:660:in column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:652:in
timestamp_column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:585:in block in table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in map'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:494:in block (3 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in block (2 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in
transaction'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:491:in block in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract_adapter.rb:168:in
disable_referential_integrity'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:476:in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:895:in
load_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:849:in setup_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:429:in
run4386733341067863740setup4059869952880884065callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `_run_callback'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in _run_setup_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in
run_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/testing/setup_and_teardown.rb:35:in `run'
4) Error:
test_should_get_edit(StatusesControllerTest):
ActiveRecord::StatementInvalid: Could not find table 'users'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:472:in table_structure'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:346:in
columns'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:660:in column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:652:in
timestamp_column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:585:in block in table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in map'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:494:in block (3 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in block (2 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in
transaction'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:491:in block in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract_adapter.rb:168:in
disable_referential_integrity'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:476:in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:895:in
load_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:849:in setup_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:429:in
run4386733341067863740setup4059869952880884065callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `_run_callback'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in _run_setup_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in
run_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/testing/setup_and_teardown.rb:35:in `run'
5) Error:
test_should_get_index(StatusesControllerTest):
ActiveRecord::StatementInvalid: Could not find table 'users'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:472:in table_structure'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:346:in
columns'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:660:in column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:652:in
timestamp_column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:585:in block in table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in map'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:494:in block (3 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in block (2 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in
transaction'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:491:in block in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract_adapter.rb:168:in
disable_referential_integrity'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:476:in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:895:in
load_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:849:in setup_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:429:in
run4386733341067863740setup4059869952880884065callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `_run_callback'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in _run_setup_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in
run_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/testing/setup_and_teardown.rb:35:in `run'
6) Error:
test_should_render_the_new_page_when_logged_in(StatusesControllerTest):
ActiveRecord::StatementInvalid: Could not find table 'users'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:472:in table_structure'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:346:in
columns'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:660:in column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:652:in
timestamp_column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:585:in block in table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in map'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:494:in block (3 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in block (2 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in
transaction'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:491:in block in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract_adapter.rb:168:in
disable_referential_integrity'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:476:in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:895:in
load_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:849:in setup_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:429:in
run4386733341067863740setup4059869952880884065callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `_run_callback'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in _run_setup_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in
run_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/testing/setup_and_teardown.rb:35:in `run'
7) Error:
test_should_show_status(StatusesControllerTest):
ActiveRecord::StatementInvalid: Could not find table 'users'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:472:in table_structure'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:346:in
columns'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:660:in column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:652:in
timestamp_column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:585:in block in table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in map'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:494:in block (3 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in block (2 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in
transaction'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:491:in block in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract_adapter.rb:168:in
disable_referential_integrity'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:476:in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:895:in
load_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:849:in setup_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:429:in
run4386733341067863740setup4059869952880884065callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `_run_callback'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in _run_setup_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in
run_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/testing/setup_and_teardown.rb:35:in `run'
8) Error:
test_should_update_status(StatusesControllerTest):
ActiveRecord::StatementInvalid: Could not find table 'users'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:472:in table_structure'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:346:in
columns'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:660:in column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:652:in
timestamp_column_names'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:585:in block in table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in map'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:579:in
table_rows'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:494:in block (3 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in
each'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:492:in block (2 levels) in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in
transaction'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:491:in block in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract_adapter.rb:168:in
disable_referential_integrity'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:476:in create_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:895:in
load_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:849:in setup_fixtures'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:429:in
run4386733341067863740setup4059869952880884065callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `_run_callback'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in _run_setup_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in
run_callbacks'
/home/jure/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.14/lib/active_support/testing/setup_and_teardown.rb:35:in `run'
8 tests, 0 assertions, 0 failures, 8 errors, 0 skips
1 Answer

Robert Ho
Courses Plus Student 11,383 PointsHello
under your statuses.yml file in the fixtures folder, do you have:
one: content: MyText user: jason
two: content: MyText user: jason
??