Errors on initial rake
I'm having the hardest time just getting set up. Any ideas?
/usr/local/bin/ruby -I"lib:test" "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader.rb" "test/unit/helpers/projects_helper_test.rb" "test/unit/helpers/status_reports_helper_test.rb" "test/unit/project_test.rb" "test/unit/status_report_test.rb" "test/unit/user_test.rb"
Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader
Started
............F..
Finished in 0.39876 seconds.
1) Failure:
test_should_reset_password(UserTest) [/test/unit/user_test.rb:46]:
<#<user>> expected but was
<nil>.
15 tests, 28 assertions, 1 failures, 0 errors
/usr/local/bin/ruby -I"lib:test" "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader.rb" "test/functional/projects_controller_test.rb" "test/functional/sessions_controller_test.rb" "test/functional/status_reports_controller_test.rb" "test/functional/users_controller_test.rb"
Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader
Started
..E..EE.......nil
..E..E..EE.....
Finished in 0.596748 seconds.
1) Error:
test_should_get_edit(ProjectsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find Project with ID=953125641
/test/functional/projects_controller_test.rb:29:in `test_should_get_edit'
2) Error:
test_should_show_project(ProjectsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find Project with ID=953125641
/test/functional/projects_controller_test.rb:24:in `test_should_show_project'
3) Error:
test_should_update_project(ProjectsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find Project with ID=953125641
/test/functional/projects_controller_test.rb:34:in `test_should_update_project'
4) Error:
test_creation_of_status_report_with_data(StatusReportsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find Project with ID=953125641
/test/functional/status_reports_controller_test.rb:49:in `test_creation_of_status_report_with_data'
/test/functional/status_reports_controller_test.rb:47:in `test_creation_of_status_report_with_data'
5) Error:
test_should_get_edit(StatusReportsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find StatusReport with ID=953125641
/test/functional/status_reports_controller_test.rb:29:in `test_should_get_edit'
6) Error:
test_should_show_status_report(StatusReportsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find StatusReport with ID=953125641
/test/functional/status_reports_controller_test.rb:24:in `test_should_show_status_report'
7) Error:
test_should_update_status_report(StatusReportsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find StatusReport with ID=953125641
/test/functional/status_reports_controller_test.rb:34:in `test_should_update_status_report'
29 tests, 40 assertions, 0 failures, 7 errors
/usr/local/bin/ruby -I"lib:test" "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader.rb"
Errors running test:units and test:functionals!</nil>
/usr/local/bin/ruby -I"lib:test" "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader.rb" "test/unit/helpers/projects_helper_test.rb" "test/unit/helpers/status_reports_helper_test.rb" "test/unit/project_test.rb" "test/unit/status_report_test.rb" "test/unit/user_test.rb"
Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader
Started
............F..
Finished in 0.39876 seconds.
1) Failure:
test_should_reset_password(UserTest) [/test/unit/user_test.rb:46]:
<#<user>> expected but was
<nil>.
15 tests, 28 assertions, 1 failures, 0 errors
/usr/local/bin/ruby -I"lib:test" "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader.rb" "test/functional/projects_controller_test.rb" "test/functional/sessions_controller_test.rb" "test/functional/status_reports_controller_test.rb" "test/functional/users_controller_test.rb"
Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader
Started
..E..EE.......nil
..E..E..EE.....
Finished in 0.596748 seconds.
1) Error:
test_should_get_edit(ProjectsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find Project with ID=953125641
/test/functional/projects_controller_test.rb:29:in `test_should_get_edit'
2) Error:
test_should_show_project(ProjectsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find Project with ID=953125641
/test/functional/projects_controller_test.rb:24:in `test_should_show_project'
3) Error:
test_should_update_project(ProjectsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find Project with ID=953125641
/test/functional/projects_controller_test.rb:34:in `test_should_update_project'
4) Error:
test_creation_of_status_report_with_data(StatusReportsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find Project with ID=953125641
/test/functional/status_reports_controller_test.rb:49:in `test_creation_of_status_report_with_data'
/test/functional/status_reports_controller_test.rb:47:in `test_creation_of_status_report_with_data'
5) Error:
test_should_get_edit(StatusReportsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find StatusReport with ID=953125641
/test/functional/status_reports_controller_test.rb:29:in `test_should_get_edit'
6) Error:
test_should_show_status_report(StatusReportsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find StatusReport with ID=953125641
/test/functional/status_reports_controller_test.rb:24:in `test_should_show_status_report'
7) Error:
test_should_update_status_report(StatusReportsControllerTest):
ActiveRecord::RecordNotFound: Couldn't find StatusReport with ID=953125641
/test/functional/status_reports_controller_test.rb:34:in `test_should_update_status_report'
29 tests, 40 assertions, 0 failures, 7 errors
/usr/local/bin/ruby -I"lib:test" "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader.rb"
Errors running test:units and test:functionals!</nil>
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Looks like something weird in the setup. Are you running this from the GitHub code, and if so, which branch? If not, what have you done to set up? If you'd like, zip up your app and email it to railsprescriptions at gmail dot com and I'll see if I can reproduce locally.
-
Inappropriate?I'll email you my app.
I started by using this (page 7 sidebar - Where is the boring stuff?):
git clone git://github.com/noelrappin/huddle.git
I just went back and tried this:
git clone http://github.com/noelrappin/huddle/t...
Here's what I'm getting now (a little better).
/usr/local/bin/ruby -I"lib:test" "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader.rb" "test/unit/user_test.rb"
Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader
Started
..........F..
Finished in 0.353205 seconds.
1) Failure:
test_should_reset_password(UserTest) [/test/unit/user_test.rb:46]:
<#<user>> expected but was
<nil>.
13 tests, 26 assertions, 1 failures, 0 errors
/usr/local/bin/ruby -I"lib:test" "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader.rb" "test/functional/sessions_controller_test.rb" "test/functional/users_controller_test.rb"
Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader
Started
.......nil
.......
Finished in 0.415743 seconds.
14 tests, 26 assertions, 0 failures, 0 errors
/usr/local/bin/ruby -I"lib:test" "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.6/lib/rake/rake_test_loader.rb"
Errors running test:units!</nil>
I’m thankful
-
Inappropriate?Nope sorry, as soon as I move to step_1, all the errors return
git checkout -b step_1 origin/step_1
Loading Profile...



EMPLOYEE