Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$rails (6.0.3) test issue - unknown root cause
31: from -e:1:in `<main>'
30: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:72:in `require'
29: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:72:in `require'
28: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:55:in `load'
27: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:55:in `load'
26: from /home/<myname>/projects/ideas/factory-inabox/v20200501/bin/rails:9:in `<top (required)>'
25: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
24: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
23: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
22: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
21: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
20: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
19: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-6.0.3/lib/rails/commands.rb:18:in `<top (required)>'
18: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-6.0.3/lib/rails/command.rb:46:in `invoke'
17: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-6.0.3/lib/rails/command/base.rb:69:in `perform'
16: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
15: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
14: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
13: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-6.0.3/lib/rails/commands/test/test_command.rb:33:in `perform'
12: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-6.0.3/lib/rails/test_unit/runner.rb:39:in `run'
11: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-6.0.3/lib/rails/test_unit/runner.rb:50:in `load_tests'
10: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-6.0.3/lib/rails/test_unit/runner.rb:50:in `each'
9: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-6.0.3/lib/rails/test_unit/runner.rb:50:in `block in load_tests'
8: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
7: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
6: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
5: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
4: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
3: from /home/<myname>/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
2: from /home/<myname>/projects/<prototype>/v20200501/test/controllers/approvals_controller_test.rb:3:in `<top (required)>'
1: from /home/<myname>/projects/<prototype>/v20200501/test/controllers/approvals_controller_test.rb:8:in `<class:ApprovalsControllerTest>'
/home/<myname>/projects/<prototype>/v20200501/test/controllers/approvals_controller_test.rb:8:in `test': wrong number of arguments (given 1, expected 2) (ArgumentError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment