1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Fix typo in spec output

This commit is contained in:
Samuel Merritt 2011-04-26 15:56:57 -07:00
parent 3c6a677b80
commit 8989402775

View file

@ -313,7 +313,7 @@ Spec::Matchers.define :have_key_with_array do |expected_key, expected_array|
end end
failure_message_for_should do |actual| failure_message_for_should do |actual|
"Items not found in array:\n#{expected_array.select { |expected_item| !actual[expected_key].include?(expected_item) }.map { |item| item.inspect }.join("\n")}\n" + "Items not found in array:\n#{expected_array.select { |expected_item| !actual[expected_key].include?(expected_item) }.map { |item| item.inspect }.join("\n")}\n" +
"Orignal items:\n#{actual[expected_key].map { |item| item.inspect }.join("\n") }\n"+ "Original items:\n#{actual[expected_key].map { |item| item.inspect }.join("\n") }\n"+
"Length Difference: #{expected_array.length - actual[expected_key].length}" "Length Difference: #{expected_array.length - actual[expected_key].length}"
end end
end end