Skip to content

Commit

Permalink
fix(example_group): fix RSpec3 deprecation error when determining exa…
Browse files Browse the repository at this point in the history
…mple file path
  • Loading branch information
booleanbetrayal committed Apr 30, 2015
1 parent 2f13baf commit 7b999a1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/rspec_junit_formatter/rspec3.rb
Original file line number Diff line number Diff line change
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 7b999a1

Please sign in to comment.