Sha256: 15fe9095306d26b7fdbcf93cbbc759c24c4452517b5a3a1e34566ea3d4749ff0

Contents?: true

Size: 546 Bytes

Versions: 3

Compression:

Stored size: 546 Bytes

Contents

# This is a test for a bug that was happening when the JUnit Reporter was
# creating filenames from `describe`s that contained slashes, which would crash
# since it was trying to create directories then.

require 'bundler/setup'
require 'minitest/autorun'
require 'minitest/reporters'

Minitest::Reporters.use! Minitest::Reporters::JUnitReporter.new

describe 'something/other' do
  it 'does something' do
    1.must_equal 1
  end
end

describe 'something/other' do
  it 'does something else' do
    1.must_equal 2
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
minitest-reporters-1.3.2.beta1 test/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-1.3.1 test/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-1.3.1.beta1 test/fixtures/junit_filename_bug_example_test.rb