opal/opal/rspec/formatters/junit.rb
# class name based on filename is not that meaningful in the JS world
class name based on filename is not that meaningful in the JS world
class name based on filename is not that meaningful in the JS world
def classname_for(notification)
          group = notification.example.example_group
          show = group.parent_groups.reject { |g| g == ::RSpec::Core::ExampleGroup }
          show.reverse.map { |g| g.description }.join '::'
        end
def classname_for ( notification ) group = notification . example . example_group show = group . parent_groups . reject { | g | g == :: RSpec :: Core :: ExampleGroup } show . reverse . map { | g | g . description } . join '::' end
class name based on filename is not that meaningful in the JS world
class name based on filename is not that meaningful in the JS world
# Don't need to show the top level/example group
notification
<not_specific>