sukima / redmine_equipment_status_viewer

Redmine plugin: Allows admins to make a list of equipment and track if they are inservice or not
http://sukima.github.com/redmine_equipment_status_viewer/
GNU General Public License v3.0
33 stars 21 forks source link

Testing is broken #39

Open sukima opened 12 years ago

sukima commented 12 years ago

Using redmine 1.4 on ruby 1.9.3 and Rails 2.3.14 the tests fail. I can not figure out why. Seems even the redmine plugins that are included fail too. I think this might be some how related to ruby 1.9.3

I'm begging anyone who might have an idea on how to do this. Please let me know.

$ rake test:engines:all 
/home/suki/.rvm/rubies/ruby-1.9.3-p125/bin/ruby -I"lib" -I"/home/suki/.rvm/gems/ruby-1.9.3-p125@redmine_1_4/gems/rake-0.9.2.2/lib" "/home/suki/.rvm/gems/ruby-1.9.3-p125@redmine_1_4/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb" "vendor/plugins/{redmine_equipment_status_viewer,redmine_markdown_extra_formatter}/test/unit/**/*_test.rb" 
/home/suki/.rvm/gems/ruby-1.9.3-p125@redmine_1_4/gems/activesupport-2.3.14/lib/active_support/inflector.rb:3:in `<top (required)>': iconv will be deprecated in the future, use String#encode instead.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /home/suki/.rvm/gems/ruby-1.9.3-p125@redmine_1_4/gems/rails-2.3.14/lib/rails/gem_dependency.rb:21.
/home/suki/.rvm/gems/ruby-1.9.3-p125@redmine_1_4/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require': can't convert Array into String (TypeError)
        from /home/suki/.rvm/gems/ruby-1.9.3-p125@redmine_1_4/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require'
        from /home/suki/source/redmine-1.4/vendor/plugins/redmine_equipment_status_viewer/test/unit/equipment_asset_test.rb:19:in `<top (required)>'
        from /home/suki/.rvm/gems/ruby-1.9.3-p125@redmine_1_4/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:10:in `require'
        from /home/suki/.rvm/gems/ruby-1.9.3-p125@redmine_1_4/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
        from /home/suki/.rvm/gems/ruby-1.9.3-p125@redmine_1_4/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:9:in `each'
        from /home/suki/.rvm/gems/ruby-1.9.3-p125@redmine_1_4/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:9:in `block in <main>'
        from /home/suki/.rvm/gems/ruby-1.9.3-p125@redmine_1_4/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:4:in `select'
        from /home/suki/.rvm/gems/ruby-1.9.3-p125@redmine_1_4/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:4:in `<main>'
rake aborted!
Command failed with status (1): [/home/suki/.rvm/rubies/ruby-1.9.3-p125/bin...]

Tasks: TOP => test:engines:all => test:engines:units
(See full trace by running task with --trace)

script/about

/home/suki/.rvm/gems/ruby-1.9.3-p125@redmine_1_4/gems/activesupport-2.3.14/lib/active_support/inflector.rb:3:in `<top (required)>': iconv will be deprecated in the future, use String#encode instead.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /home/suki/.rvm/gems/ruby-1.9.3-p125@redmine_1_4/gems/rails-2.3.14/lib/rails/gem_dependency.rb:21.
About your application's environment
Ruby version              1.9.3 (i686-linux)
RubyGems version          1.8.17
Rack version              1.1.3
Rails version             2.3.14
Active Record version     2.3.14
Active Resource version   2.3.14
Action Mailer version     2.3.14
Active Support version    2.3.14
Application root          /home/suki/source/redmine-1.4
Environment               development
Database adapter          mysql2
Database schema version   20120301153455

About your Redmine plugins
Redmine Equipment Status Viewer plugin   0.4.2
Markdown Extra formatter                 0.0.6
sukima commented 12 years ago

Seems there might be a shoulda conflict according to this gist.