Skip to content

Commit

Permalink
Merge pull request #29 from booleanbetrayal/fix_example_group_depreca…
Browse files Browse the repository at this point in the history
…tion

fix(example_group): fix RSpec3 deprecation error when determining example file path
  • Loading branch information
sj26 committed Jun 3, 2015
2 parents 0b4671d + 7b999a1 commit cc149ed
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/rspec_junit_formatter/rspec3.rb
Expand Up @@ -44,11 +44,7 @@ def result_of(notification)
end

def example_group_file_path_for(notification)
meta = notification.example.metadata
while meta[:example_group]
meta = meta[:example_group]
end
meta[:file_path]
notification.example.example_group.file_path
end

def classname_for(notification)
Expand Down

0 comments on commit cc149ed

Please sign in to comment.