From 44bace2d1cdf1f82c5bb9a1a37540d5c49f4ff4c Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Sun, 24 May 2015 20:59:04 +0200 Subject: [PATCH] [cleanup] Nowadays, DocString compares to Strings - In 2014, this was a trouble, https://github.com/cucumber/cucumber/pull/669 --- features/lib/step_definitions/junit_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/lib/step_definitions/junit_steps.rb b/features/lib/step_definitions/junit_steps.rb index 2eb7054a21..cc2bcd9629 100644 --- a/features/lib/step_definitions/junit_steps.rb +++ b/features/lib/step_definitions/junit_steps.rb @@ -1,7 +1,7 @@ Then(/^the junit output file "(.*?)" should contain:$/) do |actual_file, text| actual = IO.read(current_dir + '/' + actual_file) actual = replace_junit_time(actual) - expect(actual).to eq text.to_s + expect(actual).to eq text end module JUnitHelper