We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I found an odd behavior when using eventually and should_not be_nil.
it "should work with be_nil" do found = "X" eventually { found.should_not be_nil } end
Error message is:
Expected found.should_not(be_nil), but found is "X" be_nil is #<RSpec::Matchers::BuiltIn::BeNil:0x007ff531aea8e8 @expected=nil>
Am I doing anything wrong?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I found an odd behavior when using eventually and should_not be_nil.
Error message is:
Expected found.should_not(be_nil), but
found is "X"
be_nil is #<RSpec::Matchers::BuiltIn::BeNil:0x007ff531aea8e8
@expected=nil>
Am I doing anything wrong?
The text was updated successfully, but these errors were encountered: