This repository was archived by the owner on Nov 30, 2024. It is now read-only.
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
crash on 3.4.1 using --profile #2142
Closed
Description
Here is a gist reproducing the issue: https://gist.github.com/backus/b7d29b76cd10c75c6726
Basically I have a spec that looks like this:
describe '#abort' do
it 'crashes rspec' do
expect { abort }.to output('').to_stdout
end
end
Running it without any flags works fine:
$ bundle exec rspec
Finished in 0.0014 seconds (files took 0.07777 seconds to load)
1 example, 0 failures
But with --profile
:
$ bundle exec rspec --profile
/Users/johnbackus/.rvm/gems/ruby-2.2.3/gems/rspec-core-3.4.1/lib/rspec/core/notifications.rb:418:in `block in slowest_examples': undefined method `-@' for nil:NilClass (NoMethodError)
The gist I included has a Gemfile and Gemfile.lock where you can see all of the dependencies.
Metadata
Metadata
Assignees
Labels
No labels