Skip to content

Commit

Permalink
this issue is tested elsewhere
Browse files Browse the repository at this point in the history
  • Loading branch information
HamptonMakes committed Jan 11, 2011
1 parent e605b34 commit 9b4250a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions test/image_test.rb
Expand Up @@ -262,18 +262,4 @@ def test_throw_format_error
end
image.destroy!
end

# testing that if copying files formatted from an animation fails,
# it raises an appropriate error
def test_throw_animation_copy_after_format_error
image = Image.open(ANIMATION_PATH)
def FileUtils.copy_file
raise Errno::ENOENT
end
assert_raises MiniMagick::Error do
image.format('png')
end
end


end

0 comments on commit 9b4250a

Please sign in to comment.