spec/dsl/profile_gemspec_spec.rb in maven-tools-1.0.6 vs spec/dsl/profile_gemspec_spec.rb in maven-tools-1.0.7

- old
+ new

@@ -72,6 +72,13 @@ xml = "" Maven::Tools::Visitor.new( xml ).accept_project( parent.model ) xml.must_equal( ProfileGemspecFile.read( 'jars_and_poms_include_jars.xml', 'gemspec_spec' ) ) end + + it 'evals gemspec without previously known license' do + subject.new parent, 'unknown_license.gemspec' + xml = "" + Maven::Tools::Visitor.new( xml ).accept_project( parent.model ) + xml.must_equal( ProfileGemspecFile.read( 'unknown_license.xml', 'gemspec_spec' ) ) + end end