spec/imgkit_spec.rb in imgkit-1.6.2 vs spec/imgkit_spec.rb in imgkit-1.6.3

- old
+ new

@@ -284,10 +284,10 @@ it "should create a binary file" do imgkit = IMGKit.new('html', :quality => 50) file = imgkit.to_file(@file_path) file.should be_instance_of(File) - File.exists?(file.path).should be_true + File.exist?(file.path).should be_true end IMGKit::KNOWN_FORMATS.each do |format| it "should use the extension #{format} as the format" do @file_path = File.join(SPEC_ROOT,'fixtures',"test.#{format}")