{"action":"created","issue":{"url":"https://api.github.com/repos/rspec/rspec-core/issues/2546","repository_url":"https://api.github.com/repos/rspec/rspec-core","labels_url":"https://api.github.com/repos/rspec/rspec-core/issues/2546/labels{/name}","comments_url":"https://api.github.com/repos/rspec/rspec-core/issues/2546/comments","events_url":"https://api.github.com/repos/rspec/rspec-core/issues/2546/events","html_url":"https://github.com/rspec/rspec-core/issues/2546","id":332990484,"node_id":"MDU6SXNzdWUzMzI5OTA0ODQ=","number":2546,"title":"NoMethodError 'fully_formatted'","user":{"login":"mikeyduece","id":25080717,"node_id":"MDQ6VXNlcjI1MDgwNzE3","avatar_url":"https://avatars2.githubusercontent.com/u/25080717?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeyduece","html_url":"https://github.com/mikeyduece","followers_url":"https://api.github.com/users/mikeyduece/followers","following_url":"https://api.github.com/users/mikeyduece/following{/other_user}","gists_url":"https://api.github.com/users/mikeyduece/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeyduece/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeyduece/subscriptions","organizations_url":"https://api.github.com/users/mikeyduece/orgs","repos_url":"https://api.github.com/users/mikeyduece/repos","events_url":"https://api.github.com/users/mikeyduece/events{/privacy}","received_events_url":"https://api.github.com/users/mikeyduece/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-06-16T14:22:48Z","updated_at":"2018-06-28T13:43:47Z","closed_at":null,"author_association":"NONE","body":"### Subject of the issue\r\nI am attempting to set up rspec to run only failures with `rspec --only-failures`. When I do this I get this error\r\n\r\n```\r\n block in fully_formatted_failed_examples': undefined method 'fully_formatted' for #\r\n <RSpec::Core::Notifications::ExampleNotification:0x00007fce3766b108> (NoMethodError)\r\n```\r\n\r\nWhen I run `be rspec --only-failures` I get this error:\r\n\r\n`bundler: failed to load command: rspec (/Users/mikeheft/.rbenv/versions/2.5.0/bin/rspec)`\r\n\r\nI have `config.example_status_persistence_file_path = './spec/examples.txt'` set up in `spec_helper.rb`\r\nThe stacktrace says it's erroring on `/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.7.1/lib/rspec/core/notifications.rb:114:in 'block in fully_formatted_failed_examples'` with an undefinedmethod for `fully_formatted`\r\n\r\n### Your environment\r\n* Ruby version: 2.5.0\r\n* rspec-core version: 3.7.1\r\n\r\n### Steps to reproduce\r\nNot sure of the steps to reproduce. I simply enter `rspec --only-failures` or  `bundle exec rspec --only-failures`\r\n\r\n### Expected behavior\r\n\"0 examples, 0 failures\"\r\n\r\n### Actual behavior\r\nOne of two errors depending on what I enter into terminal.\r\nWith `bundle exec rspec --only-failures` I get :\r\n`bundler: failed to load command: rspec (/Users/mikeheft/.rbenv/versions/2.5.0/bin/rspec)`\r\nAlong with \r\n\r\n```\r\n block in fully_formatted_failed_examples': undefined method 'fully_formatted' for #\r\n <RSpec::Core::Notifications::ExampleNotification:0x00007fce3766b108> (NoMethodError)\r\n```\r\n\r\nAnd when I just enter `rspec --only-failures` The error is: \r\n```\r\n block in fully_formatted_failed_examples': undefined method 'fully_formatted' for #\r\n <RSpec::Core::Notifications::ExampleNotification:0x00007fce3766b108> (NoMethodError)\r\n```"},"comment":{"url":"https://api.github.com/repos/rspec/rspec-core/issues/comments/401039364","html_url":"https://github.com/rspec/rspec-core/issues/2546#issuecomment-401039364","issue_url":"https://api.github.com/repos/rspec/rspec-core/issues/2546","id":401039364,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTAzOTM2NA==","user":{"login":"mikeyduece","id":25080717,"node_id":"MDQ6VXNlcjI1MDgwNzE3","avatar_url":"https://avatars2.githubusercontent.com/u/25080717?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeyduece","html_url":"https://github.com/mikeyduece","followers_url":"https://api.github.com/users/mikeyduece/followers","following_url":"https://api.github.com/users/mikeyduece/following{/other_user}","gists_url":"https://api.github.com/users/mikeyduece/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeyduece/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeyduece/subscriptions","organizations_url":"https://api.github.com/users/mikeyduece/orgs","repos_url":"https://api.github.com/users/mikeyduece/repos","events_url":"https://api.github.com/users/mikeyduece/events{/privacy}","received_events_url":"https://api.github.com/users/mikeyduece/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T13:43:47Z","updated_at":"2018-06-28T13:43:47Z","author_association":"NONE","body":"hey @myronmarston thanks for the insight! Sorry for the delayed response, been having a hectic month. It turns out it was my brakeman gem. I deleted all tests except one and the error still persisted. Then I started on the Gemfile and removed `gem brakeman`. Now I need to figure out how that was cause the `--only-failures` flag to cause the `fully_formatted` to give a no method error."}}
{"actor":{"display_login":"mikeyduece"}}