Skip to content

error running tests #14

@logicminds

Description

@logicminds

I can't seem to run these tests locally. Am I missing something?

docker run -ti --rm -w /app -v ${PWD}:/app ruby:2.3 bash
root@48f9b6ff0907:/app# bundle install
Fetching gem metadata from https://rubygems.org/.............
Fetching version metadata from https://rubygems.org/.
Installing rake 12.0.0
Installing ansi 1.5.0
Installing ast 2.3.0
Installing builder 3.2.3
Installing minitest 5.10.2
Installing ruby-progressbar 1.8.1
Installing parallel 1.11.2
Using pluginator 1.5.0 from source at `.`
Installing powerpack 0.1.1
Installing unicode-display_width 1.2.1
Using bundler 1.14.6
Installing rainbow 2.2.2 with native extensions
Installing parser 2.4.0.0
Installing minitest-reporters 1.1.14
Installing rubocop 0.49.1
Bundle complete! 5 Gemfile dependencies, 15 gems now installed.
Bundled gems are installed into /usr/local/bundle.
root@48f9b6ff0907:/app# rake
/usr/local/bin/ruby -w -I"lib:test" -I"/usr/local/bundle/gems/rake-12.0.0/lib" "/usr/local/bundle/gems/rake-12.0.0/lib/rake/rake_test_loader.rb" "test/pluginator/autodetect_test.rb" "test/pluginator/extendable_autodetect_test.rb" "test/pluginator/group_test.rb" "test/pluginator/name_converter_test.rb" "test/pluginator_test.rb" "test/plugins_test/extensions/class_exist_test.rb" "test/plugins_test/extensions/conversions_test.rb" "test/plugins_test/extensions/first_ask_test.rb" "test/plugins_test/extensions/first_class_test.rb" "test/plugins_test/extensions/matching_test.rb" "test/plugins_test/extensions/plugins_map_test.rb"
/app/lib/pluginator/autodetect.rb:25:in `<module:Pluginator>': superclass mismatch for class Autodetect (TypeError)
	from /app/lib/pluginator/autodetect.rb:24:in `<top (required)>'
	from /app/test/test_helper.rb:70:in `require'
	from /app/test/test_helper.rb:70:in `block in <top (required)>'
	from /app/test/test_helper.rb:70:in `each'
	from /app/test/test_helper.rb:70:in `<top (required)>'
	from /app/test/pluginator/autodetect_test.rb:20:in `require'
	from /app/test/pluginator/autodetect_test.rb:20:in `<top (required)>'
	from /usr/local/bundle/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:15:in `require'
	from /usr/local/bundle/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:15:in `block in <main>'
	from /usr/local/bundle/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:4:in `select'
	from /usr/local/bundle/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:4:in `<main>'
rake aborted!
Command failed with status (1): [ruby -w -I"lib:test" -I"/usr/local/bundle/gems/rake-12.0.0/lib" "/usr/local/bundle/gems/rake-12.0.0/lib/rake/rake_test_loader.rb" "test/pluginator/autodetect_test.rb" "test/pluginator/extendable_autodetect_test.rb" "test/pluginator/group_test.rb" "test/pluginator/name_converter_test.rb" "test/pluginator_test.rb" "test/plugins_test/extensions/class_exist_test.rb" "test/plugins_test/extensions/conversions_test.rb" "test/plugins_test/extensions/first_ask_test.rb" "test/plugins_test/extensions/first_class_test.rb" "test/plugins_test/extensions/matching_test.rb" "test/plugins_test/extensions/plugins_map_test.rb" ]
/usr/local/bundle/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => default => test
(See full trace by running task with --trace)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions