Skip to content

Commit

Permalink
Fixed a bad method call
Browse files Browse the repository at this point in the history
  • Loading branch information
radiantcapsule committed Jun 3, 2014
1 parent f7217c4 commit 656089a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image_assertion.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def self.assert_image(test_output, ref_images_path, image_name, threshold)
else
result, exit_status = im_compare(expected_path, received_path, diff_path)
if exit_status == 0
return process_imagemagick_result(image_file_name, result, exit_status, threshold)
return process_imagemagick_result(image_file_name, result, threshold)
elsif exit_status == 1
print_status(create_status('failed'), "Images differ, check #{diff_images_path} for details")
else
Expand Down

0 comments on commit 656089a

Please sign in to comment.