test/unit/config_helpers_tests.rb in assert-2.19.6 vs test/unit/config_helpers_tests.rb in assert-2.19.7
- old
+ new
@@ -152,12 +152,13 @@
result_count = Factory.integer
Assert.stub(subject, "#{result_types.sample}_result_count") do
result_count
end
- exp = result_types.select do |type_sym|
- subject.send("#{type_sym}_result_count") > 0
- end
+ exp =
+ result_types.select do |type_sym|
+ subject.send("#{type_sym}_result_count") > 0
+ end
assert_that(subject.ocurring_result_types).equals(exp)
end
end
end