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

Incompatibility with super_diff -- uninitialized constant RSpec::Expectations::ExpectationTarget #35

Open
Nakilon opened this issue Oct 30, 2024 · 0 comments

Comments

@Nakilon
Copy link

Nakilon commented Oct 30, 2024

$ tree -a
.
├── Gemfile
├── Gemfile.lock
├── .ruby-version
└── spec
    └── _spec.rb

$ cat .ruby-version 
2.7.8

$ cat  spec/_spec.rb 
require "super_diff/rspec"
require "rspec/wait"

$ cat Gemfile
source "https://rubygems.org"
gem "rspec-wait"
gem "super_diff"

$ cat Gemfile.lock 
GEM
  remote: https://rubygems.org/
  specs:
    attr_extras (7.1.0)
    diff-lcs (1.5.1)
    optimist (3.1.0)
    patience_diff (1.2.0)
      optimist (~> 3.0)
    rspec (3.13.0)
      rspec-core (~> 3.13.0)
      rspec-expectations (~> 3.13.0)
      rspec-mocks (~> 3.13.0)
    rspec-core (3.13.2)
      rspec-support (~> 3.13.0)
    rspec-expectations (3.13.3)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.13.0)
    rspec-mocks (3.13.2)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.13.0)
    rspec-support (3.13.1)
    rspec-wait (0.0.10)
      rspec (>= 3.0)
    super_diff (0.9.0)
      attr_extras (>= 6.2.4)
      diff-lcs
      patience_diff

PLATFORMS
  ruby

DEPENDENCIES
  rspec-wait
  super_diff

BUNDLED WITH
   2.1.4
$ bundle exec rspec

An error occurred while loading ./spec/_spec.rb.
Failure/Error: require "rspec/wait"

NameError:
  uninitialized constant RSpec::Expectations::ExpectationTarget
  Did you mean?  RSpec::Expectations::ExpectationHelper
# ./spec/_spec.rb:2:in `require'
# ./spec/_spec.rb:2:in `<top (required)>'
No examples found.


Finished in 0.00004 seconds (files took 0.11679 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples
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