Sha256: e7968eaa6ae1dca88cc449abed09cd19972d3429e7cffc876e068abb4e344703

Contents?: true

Size: 434 Bytes

Versions: 5

Compression:

Stored size: 434 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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
minitest-reporters-0.14.24 test/integration/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-0.14.23 test/integration/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-0.14.22 test/integration/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-0.14.21 test/integration/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-0.14.20 test/integration/fixtures/junit_filename_bug_example_test.rb