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

Wrong number of arguments in aggregated_results #149

Open
gambala opened this issue May 10, 2017 · 0 comments
Open

Wrong number of arguments in aggregated_results #149

gambala opened this issue May 10, 2017 · 0 comments

Comments

@gambala
Copy link

gambala commented May 10, 2017

My setup:

  • guard 2.14.1
  • guard-minitest 2.4.6
  • minitest 5.10.2
  • rails 5.1

Guardfile (I followed tmichel's advice from issue #142):

guard :minitest, spring: 'bin/rails test', all_on_start: false do
  # rules
end

Guard starts without errors and all my tests pass. But after passed tests I see this error:

# Running:

..

Finished in 0.717057s, 2.7892 runs/s, 11.1567 assertions/s.
/home/gambala/.rvm/gems/ruby-2.4.1/gems/railties-5.1.0/lib/rails/test_unit/minitest_plugin.rb:9:in `aggregated_results': wrong number of arguments (given 1, expected 0) (ArgumentError)
        from /home/gambala/.rvm/gems/ruby-2.4.1/gems/minitest-5.10.2/lib/minitest.rb:597:in `report'
        from /home/gambala/.rvm/gems/ruby-2.4.1/gems/minitest-5.10.2/lib/minitest.rb:687:in `each'
        from /home/gambala/.rvm/gems/ruby-2.4.1/gems/minitest-5.10.2/lib/minitest.rb:687:in `report'
        from /home/gambala/.rvm/gems/ruby-2.4.1/gems/minitest-5.10.2/lib/minitest.rb:141:in `run'
        from /home/gambala/.rvm/gems/ruby-2.4.1/gems/railties-5.1.0/lib/rails/test_unit/minitest_plugin.rb:77:in `run'
        from /home/gambala/.rvm/gems/ruby-2.4.1/gems/minitest-5.10.2/lib/minitest.rb:63:in `block in autorun'
        from /home/gambala/.rvm/gems/ruby-2.4.1/gems/spring-2.0.1/lib/spring/application.rb:161:in `fork'
        from /home/gambala/.rvm/gems/ruby-2.4.1/gems/spring-2.0.1/lib/spring/application.rb:161:in `serve'
        from /home/gambala/.rvm/gems/ruby-2.4.1/gems/spring-2.0.1/lib/spring/application.rb:131:in `block in run'
        from /home/gambala/.rvm/gems/ruby-2.4.1/gems/spring-2.0.1/lib/spring/application.rb:125:in `loop'
        from /home/gambala/.rvm/gems/ruby-2.4.1/gems/spring-2.0.1/lib/spring/application.rb:125:in `run'
        from /home/gambala/.rvm/gems/ruby-2.4.1/gems/spring-2.0.1/lib/spring/application/boot.rb:19:in `<top (required)>'
        from /home/gambala/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /home/gambala/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from -e:1:in `<main>'

[1] guard(main)> 
@gambala gambala changed the title Wrong number of arguments in aggregated_results (Rails 5.1) Wrong number of arguments in aggregated_results May 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant