{"comment":{"created_at":"2011-10-26T02:49:02Z","body":"Thanks. I moved forward a little. However unfortunately test stopped.\r\n\r\n```\r\n# rake redmine:backlogs:rcov\r\n(in /opt/alminium)\r\n/usr/bin/ruby -I \"/usr/lib/ruby/gems/1.8/gems/cucumber-0.8.5/lib:lib\" -S rcov --rails --text-report --include-file vendor\\/plugins\\/redmine_backlogs --exclude config\\/,features\\/.+\\/,^app\\/,^lib\\/,osx\\/objc,gems\\/ -o \"coverage\" \"/usr/lib/ruby/gems/1.8/gems/cucumber-0.8.5/bin/cucumber\" -- --no-color\r\nUsing the default profile...\r\nWARNING: No DRb server is running. Running features locally:\r\nWARNING: You have set Rails' config.cache_classes to false (most likely in config/environments/cucumber.rb).  This setting is known to break Cucumber's use_transactional_fixtures method. Set config.cache_classes to true if you want to use transactional fixtures.  For more information see https://rspec.lighthouseapp.com/projects/16211/tickets/165.\r\n.F.F--------.F------.F-----------------------------------.F-----.F---------------------------------------------------------------------------------------------------------------------------------------------------------.F-----.F-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.F----.F---------------------------------------------------------------------------------------------\r\n\r\n(::) failed steps (::)\r\n\r\nundefined method `destroy' for {}:Hash (NoMethodError)\r\n./app/controllers/application_controller.rb:92:in `logged_user='\r\n./app/controllers/account_controller.rb:203:in `successful_authentication'\r\n./app/controllers/account_controller.rb:155:in `password_authentication'\r\n./app/controllers/account_controller.rb:142:in `authenticate_user'\r\n./app/controllers/account_controller.rb:30:in `login'\r\n/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'\r\n./features/step_definitions/helpers.rb:70:in `login_as_team_member'\r\n./features/step_definitions/_given_steps.rb:43:in `/^I am a team member of the project$/'\r\nfeatures/common.feature:8:in `And I am a team member of the project'\r\n\r\nundefined method `destroy' for {}:Hash (NoMethodError)\r\n./app/controllers/application_controller.rb:92:in `logged_user='\r\n./app/controllers/account_controller.rb:203:in `successful_authentication'\r\n./app/controllers/account_controller.rb:155:in `password_authentication'\r\n./app/controllers/account_controller.rb:142:in `authenticate_user'\r\n./app/controllers/account_controller.rb:30:in `login'\r\n/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'\r\n./features/step_definitions/helpers.rb:62:in `login_as_scrum_master'\r\n./features/step_definitions/_given_steps.rb:32:in `/^I am a scrum master of the project$/'\r\nfeatures/burndown.feature:8:in `And I am a scrum master of the project'\r\n\r\nundefined method `destroy' for {}:Hash (NoMethodError)\r\n./app/controllers/application_controller.rb:92:in `logged_user='\r\n./app/controllers/account_controller.rb:203:in `successful_authentication'\r\n./app/controllers/account_controller.rb:155:in `password_authentication'\r\n./app/controllers/account_controller.rb:142:in `authenticate_user'\r\n./app/controllers/account_controller.rb:30:in `login'\r\n/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'\r\n./features/step_definitions/helpers.rb:70:in `login_as_team_member'\r\n./features/step_definitions/_given_steps.rb:43:in `/^I am a team member of the project$/'\r\nfeatures/team_member.feature:8:in `And I am a team member of the project'\r\n\r\nundefined method `destroy' for {}:Hash (NoMethodError)\r\n./app/controllers/application_controller.rb:92:in `logged_user='\r\n./app/controllers/account_controller.rb:203:in `successful_authentication'\r\n./app/controllers/account_controller.rb:155:in `password_authentication'\r\n./app/controllers/account_controller.rb:142:in `authenticate_user'\r\n./app/controllers/account_controller.rb:30:in `login'\r\n/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'\r\n./features/step_definitions/helpers.rb:62:in `login_as_scrum_master'\r\n./features/step_definitions/_given_steps.rb:32:in `/^I am a scrum master of the project$/'\r\nfeatures/scrum_master.feature:8:in `And I am a scrum master of the project'\r\n\r\nundefined method `destroy' for {}:Hash (NoMethodError)\r\n./app/controllers/application_controller.rb:92:in `logged_user='\r\n./app/controllers/account_controller.rb:203:in `successful_authentication'\r\n./app/controllers/account_controller.rb:155:in `password_authentication'\r\n./app/controllers/account_controller.rb:142:in `authenticate_user'\r\n./app/controllers/account_controller.rb:30:in `login'\r\n/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'\r\n./features/step_definitions/helpers.rb:54:in `login_as_product_owner'\r\n./features/step_definitions/_given_steps.rb:15:in `/^I am a product owner of the project$/'\r\nfeatures/product_owner.feature:8:in `And I am a product owner of the project'\r\n\r\nFailing Scenarios:\r\ncucumber features/common.feature:10 # Scenario: View the product backlog\r\ncucumber features/burndown.feature:40 # Scenario: Tasks closed AFTER remaining hours is set to 0\r\ncucumber features/team_member.feature:30 # Scenario: Create a task for a story\r\ncucumber features/scrum_master.feature:30 # Scenario: Create an impediment\r\ncucumber features/product_owner.feature:27 # Scenario: View the product backlog\r\n\r\n40 scenarios (5 failed, 35 skipped)\r\n474 steps (5 failed, 464 skipped, 5 passed)\r\n0m20.802s\r\n```\r\nI checked ./app/controllers/application_controller.rb:92, I cloudn't find destory method.\r\n\r\n```\r\n     90   # Sets the logged in user\r\n     91   def logged_user=(user)\r\n     92     reset_session\r\n     93     if user && user.is_a?(User)\r\n     94       User.current = user\r\n     95       session[:user_id] = user.id\r\n     96     else\r\n     97       User.current = User.anonymous\r\n     98     end\r\n     99   end\r\n```\r\nHow can I know the cause of fail?\r\nMaybe I'm luck of rails skill.\r\n\r\nregards,\r\n","updated_at":"2011-10-26T02:49:02Z","url":"https://api.github.com/repos/relaxdiego/redmine_backlogs/issues/comments/2525931","id":2525931,"user":{"gravatar_id":"3042f00bac8739bb6b10ae4ddecc07fa","avatar_url":"https://secure.gravatar.com/avatar/3042f00bac8739bb6b10ae4ddecc07fa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/mikoto20000","id":808684,"login":"mikoto20000"}},"action":"created","issue":{"number":304,"created_at":"2011-10-25T04:45:27Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I would like to run test code for backlogs plugin.I setup test environment with following description.\r\n\r\nhttp://www.redminebacklogs.net/en/developers/\r\n\r\nThe I got following result \r\n\r\n```\r\n# rake redmine:backlogs:rcov --trace\r\n/usr/bin/ruby -I \"/usr/lib/ruby/gems/1.8/gems/cucumber-0.8.5/lib:lib\" -S rcov --rails --text-report --include-file vendor\\/plugins\\/redmine_backlogs --exclude config\\/,features\\/.+\\/,^app\\/,^lib\\/,\r\nosx\\/objc,gems\\/ -o \"coverage\" \"/usr/lib/ruby/gems/1.8/gems/cucumber-0.8.5/bin/cucumber\" -- --no-color\r\n(in /opt/alminium)\r\n** Invoke redmine:backlogs:rcov (first_time)\r\n** Invoke redmine:backlogs:rcov:all (first_time)\r\n** Execute redmine:backlogs:rcov:all\r\n** Invoke redmine:backlogs:rcov:cucumber (first_time)\r\n** Execute redmine:backlogs:rcov:cucumber\r\nWARNING: No DRb server is running. Running features locally:\r\nWARNING: You have set Rails' config.cache_classes to false (most likely in config/environments/cucumber.rb).  This setting is known to break Cucumber's use_transactional_fixtures method. Set config\r\n.cache_classes to true if you want to use transactional fixtures.  For more information see https://rspec.lighthouseapp.com/projects/16211/tickets/165.\r\nno such file to load -- timecop (MissingSourceFile)\r\n/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'\r\n/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'\r\n/opt/alminium/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'\r\n/opt/alminium/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in `new_constants_in'\r\n/opt/alminium/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'\r\n/opt/alminium/features/step_definitions/_given_steps.rb:2\r\n/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'\r\n/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'\r\n/opt/alminium/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'\r\n/opt/alminium/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in `new_constants_in'\r\n/opt/alminium/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'\r\n/usr/lib/ruby/gems/1.8/gems/cucumber-0.8.5/bin/../lib/cucumber/rb_support/rb_language.rb:141:in `load_code_file'\r\n/usr/lib/ruby/gems/1.8/gems/cucumber-0.8.5/bin/../lib/cucumber/step_mother.rb:108:in `load_code_file'\r\n/usr/lib/ruby/gems/1.8/gems/cucumber-0.8.5/bin/../lib/cucumber/step_mother.rb:100:in `load_code_files'\r\n/usr/lib/ruby/gems/1.8/gems/cucumber-0.8.5/bin/../lib/cucumber/step_mother.rb:99:in `each'\r\n/usr/lib/ruby/gems/1.8/gems/cucumber-0.8.5/bin/../lib/cucumber/step_mother.rb:99:in `load_code_files'\r\n/usr/lib/ruby/gems/1.8/gems/cucumber-0.8.5/bin/../lib/cucumber/cli/main.rb:56:in `execute!'\r\n/usr/lib/ruby/gems/1.8/gems/cucumber-0.8.5/bin/../lib/cucumber/cli/main.rb:25:in `execute'\r\n/usr/lib/ruby/gems/1.8/gems/cucumber-0.8.5/bin/cucumber:8\r\n/usr/lib/ruby/gems/1.8/gems/rcov-0.9.11/bin/rcov:516:in `load'\r\n/usr/lib/ruby/gems/1.8/gems/rcov-0.9.11/bin/rcov:516\r\n/usr/bin/rcov:19:in `load'\r\n/usr/bin/rcov:19\r\nUsing the default profile...\r\n+----------------------------------------------------+-------+-------+--------+\r\n|                  File                              | Lines |  LOC  |  COV   |\r\n+----------------------------------------------------+-------+-------+--------+\r\n|/usr/lib/ruby/1.8/base64.rb                         |   133 |    40 |  40.0% |\r\n|/usr/lib/ruby/1.8/benchmark.rb                      |   572 |   189 |  35.4% |\r\n|/usr/lib/ruby/1.8/bigdecimal/util.rb                |    65 |    40 |  22.5% |\r\n\r\n..skip..\r\n\r\n|/usr/lib/ruby/site_ruby/1.8/RMagick.rb              |  1962 |  1508 |  29.8% |\r\n|vendor/plugins/redmine_backlogs/config/routes.rb    |    46 |    35 | 100.0% |\r\n|...r/plugins/redmine_backlogs/lib/backlogs_hooks.rb |   220 |   167 |   6.6% |\r\n|...ins/redmine_backlogs/lib/backlogs_issue_patch.rb |   241 |   169 |  19.5% |\r\n|...mine_backlogs/lib/backlogs_issue_status_patch.rb |    30 |    25 |  52.0% |\r\n|...ns/redmine_backlogs/lib/backlogs_merged_array.rb |    92 |    77 |  20.8% |\r\n|...ine_backlogs/lib/backlogs_my_controller_patch.rb |    33 |    28 |  57.1% |\r\n|...s/redmine_backlogs/lib/backlogs_project_patch.rb |   174 |   135 |  26.7% |\r\n|...ins/redmine_backlogs/lib/backlogs_query_patch.rb |   144 |   103 |  35.9% |\r\n|...s/redmine_backlogs/lib/backlogs_tracker_patch.rb |    25 |    20 |  65.0% |\r\n|...gins/redmine_backlogs/lib/backlogs_user_patch.rb |    48 |    38 |  31.6% |\r\n|...plugins/redmine_backlogs/lib/backlogs_version.rb |    28 |    25 |  16.0% |\r\n|...s/redmine_backlogs/lib/backlogs_version_patch.rb |    45 |    36 |  52.8% |\r\n+----------------------------------------------------+-------+-------+--------+\r\n|Total                                               | 31928 | 18744 |  29.2% |\r\n+----------------------------------------------------+-------+-------+--------+\r\n29.2%   104 file(s)   31928 Lines   18744 LOC\r\nrake aborted!\r\nCommand failed with status (1): [/usr/bin/ruby -I \"/usr/lib/ruby/gems/1.8/g...]\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:994:in `sh'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1009:in `call'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1009:in `sh'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1093:in `sh'\r\n/usr/lib/ruby/gems/1.8/gems/cucumber-0.8.5/lib/cucumber/rake/task.rb:72:in `run'\r\n/usr/lib/ruby/gems/1.8/gems/cucumber-0.8.5/lib/cucumber/rake/task.rb:142:in `define_task'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:635:in `call'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:635:in `execute'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:in `each'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:in `execute'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'\r\n/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:589:in `invoke_with_call_chain'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:582:in `invoke'\r\n/opt/alminium/vendor/plugins/redmine_backlogs/lib/tasks/rcov.rake:21\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:633:in `call'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:633:in `execute'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:in `each'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:in `execute'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'\r\n/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:589:in `invoke_with_call_chain'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:606:in `invoke_prerequisites'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:603:in `each'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:603:in `invoke_prerequisites'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:595:in `invoke_with_call_chain'\r\n/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:589:in `invoke_with_call_chain'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:582:in `invoke'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:in `invoke_task'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `top_level'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `each'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `top_level'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in `standard_exception_handling'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2022:in `top_level'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in `standard_exception_handling'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1997:in `run'\r\n/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31\r\n/usr/bin/rake:19:in `load'\r\n/usr/bin/rake:19\r\n```\r\nI'm not sure test is passed or not. What should I do for checking the test result.\r\nOr test is failed by something?\r\n\r\nBTW, gem's are \r\n```\r\nautotest-rails (4.1.1)\r\ncapybara (0.3.5)\r\ncucumber (0.8.5)\r\ncucumber-rails (0.3.2)\r\nffi (1.0.9)\r\ngherkin (2.1.5)\r\nrcov (0.9.11)\r\nredgreen (1.2.2)\r\nrspec (1.3.1)\r\nrspec-rails (1.3.3)\r\nselenium-webdriver (2.9.1)\r\nspork (0.8.5)\r\nZenTest (4.5.0)\r\n```\r\n\r\nregards,","comments":2,"title":"About Testing","updated_at":"2011-10-26T02:49:02Z","url":"https://api.github.com/repos/relaxdiego/redmine_backlogs/issues/304","id":2041431,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"3042f00bac8739bb6b10ae4ddecc07fa","avatar_url":"https://secure.gravatar.com/avatar/3042f00bac8739bb6b10ae4ddecc07fa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/mikoto20000","id":808684,"login":"mikoto20000"},"html_url":"https://github.com/relaxdiego/redmine_backlogs/issues/304","labels":[{"name":"feedback-required","url":"https://api.github.com/repos/relaxdiego/redmine_backlogs/labels/feedback-required","color":"d7e102"}],"state":"open"},"legacy":{"issue_id":2041431,"comment_id":2525931}}