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
Let's imagine I'm using an almost empty file like so:
class Foo def answer 42 end end describe Foo do describe '#answer' do end end
When executing :RunSpec on the file, the result is:
+-- 3 passed -------------------------------------------------- Finished in 0.00015 seconds
Damn !?! 3 tests passed ? where does that come from ? Let's expand the result report:
++++++++++++++++++++++++++++++ + PASS: All 0 Specs Pass! ++++++++++++++++++++++++++++++ Finished in 0.00015 seconds
Seems like 3 lines -> 3 passed
The text was updated successfully, but these errors were encountered:
The very same thing happen if a add a single test:
class Foo def answer 42 end end describe Foo do let (:instance) { Foo.new } describe '#answer' do it { expect( instance.answer ).to eq 42 } end end
The result being:
+-- 3 passed -------------------------------------------------- Finished in 0.00088 seconds [Foo] [#answer] + should eq 42
Which expand to:
++++++++++++++++++++++++++++++ + PASS: All 1 Specs Pass! ++++++++++++++++++++++++++++++ Finished in 0.00088 seconds [Foo] [#answer] + should eq 42
Could be related to rpsec 3.2.3 output format, then ?
Sorry, something went wrong.
No branches or pull requests
Environment
Description
Let's imagine I'm using an almost empty file like so:
When executing :RunSpec on the file, the result is:
Damn !?! 3 tests passed ? where does that come from ?
Let's expand the result report:
Seems like 3 lines -> 3 passed
The text was updated successfully, but these errors were encountered: