Skip to content

Wrong number of arguments in aggregated_results #149

@gambala

Description

@gambala

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)> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions