test/test_wand.rb in wand-0.2 vs test/test_wand.rb in wand-0.2.1
- old
+ new
@@ -47,12 +47,7 @@
should "strip newlines and such" do
Wand.expects(:execute_file_cmd).returns("image/jpeg\n")
assert_equal "image/jpeg", Wand.wave(FilePath.join(name).expand_path.to_s)
end
-
- should "escape path" do
- output = Wand.execute_file_cmd(FilePath.join(name).expand_path.to_s + ' && echo $USER')
- assert_match /cannot\sopen/, output
- end
end
end