harvesthq / time-warp

Ruby gem to warp time in tests
http://getharvest.com
MIT License
75 stars 17 forks source link

Rails5 + Minitest won't work #18

Open krtschmr opened 7 years ago

krtschmr commented 7 years ago

rake aborted! TypeError: superclass mismatch for class Test /home/tim/.rvm/gems/ruby-2.3.0/gems/minitest-5.10.1/lib/minitest/test.rb:10:in <module:Minitest>' /home/tim/.rvm/gems/ruby-2.3.0/gems/minitest-5.10.1/lib/minitest/test.rb:3:in<top (required)>' /home/tim/.rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in require' /home/tim/.rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:inblock in require' /home/tim/.rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:259:in load_dependency' /home/tim/.rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:inrequire' /home/tim/.rvm/gems/ruby-2.3.0/gems/minitest-5.10.1/lib/minitest.rb:842:in <top (required)>' /home/tim/.rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:inrequire' /home/tim/.rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in block in require' /home/tim/.rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:259:inload_dependency' /home/tim/.rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in require' /home/tim/.rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/test_unit/testing.rake:2:in<top (required)>' /home/tim/.rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:287:in load' /home/tim/.rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:287:inblock in load' /home/tim/.rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:259:in load_dependency' /home/tim/.rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:287:inload' /home/tim/.rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/test_unit/railtie.rb:23:in block in <class:TestUnitRailtie>' /home/tim/.rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/railtie.rb:239:ininstance_exec' /home/tim/.rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/railtie.rb:239:in block in run_tasks_blocks' /home/tim/.rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/railtie.rb:247:ineach' /home/tim/.rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/railtie.rb:247:in each_registered_block' /home/tim/.rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/railtie.rb:239:inrun_tasks_blocks' /home/tim/.rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/application.rb:442:in block in run_tasks_blocks' /home/tim/.rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/engine/railties.rb:13:ineach' /home/tim/.rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/engine/railties.rb:13:in each' /home/tim/.rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/application.rb:442:inrun_tasks_blocks' /home/tim/.rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/engine.rb:457:in load_tasks' /home/tim/rails/modhoster_new/Rakefile:6:in<top (required)>' /home/tim/.rvm/gems/ruby-2.3.0/gems/rake-12.0.0/exe/rake:27:in <top (required)>' /home/tim/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:ineval' /home/tim/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `

' (See full trace by running task with --trace)