Sha256: 69d80748f6fd9a1318092233400ea51b3b37d1cd199d11c0d595a24826bad2ca

Contents?: true

Size: 848 Bytes

Versions: 15

Compression:

Stored size: 848 Bytes

Contents

require 'spec_helper'

module Mork
  # describe MimageList do
  #   before(:all) do
  #     tpg = sample_img(:two_pages)
  #     @mlist = MimageList.new(tpg.filename)
  #   end
  #
  #   describe ".new" do
  #     it "should raise an error unless called with a string" do
  #       lambda {
  #         MimageList.new(666)
  #       }.should raise_error
  #     end
  #   end
  #
  #   describe "[]" do
  #     it "should return the 1st mimage in the stack" do
  #       @mlist[0].should be_a(Mimage)
  #     end
  #
  #     it "should return the last mimage in the stack" do
  #       @mlist[1].should be_a(Mimage)
  #     end
  #   end
  #
  #   describe "each" do
  #     it "should loop over all images" do
  #       @mlist.each do |m|
  #         puts m.inspect
  #         m.should be_a(Mimage)
  #       end
  #     end
  #   end
  # end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
mork-0.11.2 spec/mork/mimage_list_spec.rb
mork-0.11.1 spec/mork/mimage_list_spec.rb
mork-0.10.0 spec/mork/mimage_list_spec.rb
mork-0.9.3 spec/mork/mimage_list_spec.rb
mork-0.9.2 spec/mork/mimage_list_spec.rb
mork-0.9.1 spec/mork/mimage_list_spec.rb
mork-0.9.0 spec/mork/mimage_list_spec.rb
mork-0.8.1 spec/mork/mimage_list_spec.rb
mork-0.8.0 spec/mork/mimage_list_spec.rb
mork-0.7.0 spec/mork/mimage_list_spec.rb
mork-0.6.0 spec/mork/mimage_list_spec.rb
mork-0.5.0 spec/mork/mimage_list_spec.rb
mork-0.4.0 spec/mork/mimage_list_spec.rb
mork-0.3.0 spec/mork/mimage_list_spec.rb
mork-0.2.1 spec/mork/mimage_list_spec.rb