Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing is broken #39

Open
sukima opened this issue Apr 17, 2012 · 1 comment
Open

Testing is broken #39

sukima opened this issue Apr 17, 2012 · 1 comment
Labels

Comments

@sukima
Copy link
Owner

sukima commented Apr 17, 2012

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
Copy link
Owner Author

sukima commented Apr 17, 2012

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

@sukima sukima mentioned this issue Sep 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant