features/junit_formatter.feature in aslakhellesoy-cucumber-0.3.11.3 vs features/junit_formatter.feature in aslakhellesoy-cucumber-0.3.11.5

- old
+ new

@@ -11,11 +11,11 @@ When I run cucumber --format junit --out tmp/ features/one_passing_one_failing.feature Then it should fail with """ """ - And "examples/junit/tmp/TEST-One_passing_scenario__one_failing_scenario.xml" should contain XML + And "examples/junit/tmp/TEST-one_passing_one_failing.xml" should contain XML """ <?xml version="1.0" encoding="UTF-8"?> <testsuite errors="0" tests="2" name="One passing scenario, one failing scenario" failures="1"> <testcase name="Given a passing scenario" classname="One passing scenario, one failing scenario.Passing"> </testcase> @@ -34,11 +34,11 @@ When I run cucumber --format junit --out tmp/ features/pending.feature Then it should pass with """ """ - And "examples/junit/tmp/TEST-Pending_step.xml" should contain XML + And "examples/junit/tmp/TEST-pending.xml" should contain XML """ <?xml version="1.0" encoding="UTF-8"?> <testsuite errors="0" tests="1" name="Pending step" failures="1"> <testcase name="Given a pending step" classname="Pending step.Pending"> <failure message="Given a pending step"> @@ -54,11 +54,11 @@ When I run cucumber --format junit --out tmp/ features Then it should fail with """ """ - And "examples/junit/tmp/TEST-One_passing_scenario__one_failing_scenario.xml" should exist - And "examples/junit/tmp/TEST-Pending_step.xml" should exist + And "examples/junit/tmp/TEST-one_passing_one_failing.xml" should exist + And "examples/junit/tmp/TEST-pending.xml" should exist Scenario: show correct error message if no --out is passed When I run cucumber --format junit features Then STDERR should not match """ \ No newline at end of file