Railsで開発を行なっており、RSpecテストを行なったところ以下のエラーが出てしまい
テストが正常に作動しないのでその原因を教えて頂けると助かります。よろしくお願いします。
エラーの全部貼りで申し訳ございません。
An error occurred while loading ./spec.
Failure/Error: send(method, file)
LoadError:
cannot load such file -- /home/ec2-user/environment/bookers2/spec
/home/ec2-user/.rvm/gems/ruby-2.6.3/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2112:in `load'
/home/ec2-user/.rvm/gems/ruby-2.6.3/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2112:in `load_file_handling_errors'
/home/ec2-user/.rvm/gems/ruby-2.6.3/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:1615:in `block in load_spec_files'
/home/ec2-user/.rvm/gems/ruby-2.6.3/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:1613:in `each'
/home/ec2-user/.rvm/gems/ruby-2.6.3/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:1613:in `load_spec_files'
/home/ec2-user/.rvm/gems/ruby-2.6.3/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:102:in `setup'
/home/ec2-user/.rvm/gems/ruby-2.6.3/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:86:in `run'
/home/ec2-user/.rvm/gems/ruby-2.6.3/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'
/home/ec2-user/.rvm/gems/ruby-2.6.3/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'
/home/ec2-user/.rvm/gems/ruby-2.6.3/gems/rspec-core-3.10.1/exe/rspec:4:in `<top (required)>'
/home/ec2-user/.rvm/gems/ruby-2.6.3/bin/rspec:23:in `load'
/home/ec2-user/.rvm/gems/ruby-2.6.3/bin/rspec:23:in `<main>'
/home/ec2-user/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `eval'
/home/ec2-user/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `<main>'
Showing full backtrace because every line was filtered out.
See docs for RSpec::Configuration#backtrace_exclusion_patterns and
RSpec::Configuration#backtrace_inclusion_patterns for more information.
No examples found.
Finished in 0.00005 seconds (files took 0.23961 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples
あなたの回答
tips
プレビュー