title: RSpec --only-failures wrong output
body: <p>When I run RSpec it gives the following output:</p>
  
  <pre><code>$ rspec
  .F
  
  Failures:
  
  1) A cup of coffee with milk costs $1.25
     Failure/Error: expect(coffee.price).to eq(1.25)
  
     expected: 1.25
          got: 1.0
  
     (compared using ==)
   # ./spec/coffee_spec.rb:12:in `block (3 levels) in &lt;top (required)&gt;'
  
   Finished in 0.02668 seconds (files took 0.12828 seconds to load)
   2 examples, 1 failure
  
   Failed examples:
  
   rspec ./spec/coffee_spec.rb:11 # A cup of coffee with milk costs $1.25
  </code></pre>
  
  <p>So when I run</p>
  
  <pre><code>$ rspec --only-failures
  </code></pre>
  
  <p>The output should be</p>
  
  <pre><code>Run options: include {:last_run_status=&gt;"failed"}
  F
  « truncated »
  1 example, 1 failure
  Failed examples:
  rspec ./spec/coffee_spec.rb:11 # A cup of coffee with milk costs $1.25
  </code></pre>
  
  <p>But instead of that I get this:</p>
  
  <pre><code>Run options: include {:last_run_status=&gt;"failed"}
  
  All examples were filtered out
  
  
  Finished in 0.00158 seconds (files took 0.13118 seconds to load)
  0 examples, 0 failures
  </code></pre>
  
  <p>I already added this to the spec file 
  <code>RSpec.configure do |c|
    c.example_status_persistence_file_path = "examples.txt"
  end</code></p>
  
  <p>This is the output from the examples.txt:
  <a href="https://i.stack.imgur.com/IyFUs.png" rel="nofollow noreferrer">examples.txt</a></p>
  
  <p>Any idea what I did wrong?</p>