Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vistahigherlearning / common_cartridge   ruby

Repository URL to install this package:

Version: 1.0.1 

/ spec / parser_spec.rb

require 'spec_helper'

module CommonCartridge
  describe Parsers::Parser do
    describe ".parse_from_zip" do
      it "parses a Common CommonCartridge zip successfully" do
        package = CommonCartridge.parse_from_zip("canvas_small_1.1.imscc")
        expect(package).to be_kind_of(CommonCartridge::Package)
        expect(package.manifest).to be_kind_of(CommonCartridge::Elements::Manifest)
      end
    end
  end
end