spec/object_file_spec.rb in assembly-objectfile-1.5.4 vs spec/object_file_spec.rb in assembly-objectfile-1.5.5
- old
+ new
@@ -51,16 +51,16 @@
test_file=File.join(TEST_INPUT_DIR,'oo000oo0001_05_001.tif')
@ai = Assembly::ObjectFile.new(test_file)
@ai.dpg_folder.should == "05"
end
- it "should tell us that a jp2 file is jp2able but has no color profile" do
+ it "should tell us that a jp2 file is not jp2able" do
File.exists?(TEST_JP2_INPUT_FILE).should be true
@ai = Assembly::ObjectFile.new(TEST_JP2_INPUT_FILE)
@ai.image?.should == true
@ai.object_type.should == :image
@ai.valid_image?.should == true
- @ai.jp2able?.should == true
+ @ai.jp2able?.should == false
@ai.has_color_profile?.should == false
end
it "should tell us that a tiff file is jp2able and has a color profile" do
File.exists?(TEST_RES1_TIF1).should be true
\ No newline at end of file