spec/dsl/project_gemspec_spec.rb in maven-tools-1.2.0.pre1 vs spec/dsl/project_gemspec_spec.rb in maven-tools-1.2.0

- old
+ new

@@ -31,10 +31,10 @@ parent = Maven::Tools::Project.new subject.new parent xml = "" Maven::Tools::Visitor.new( xml ).accept_project( parent.model ) v = Maven::Tools::VERSION - v += '-SNAPSHOT' if v =~ /.dev$/ + v += '-SNAPSHOT' if v =~ /.[[:alpha:]][[:alnum:]]*$/ xml.must_equal( XmlFile.read( 'maven-tools.xml', 'maven-tools', v ) ) end it 'evals maven_tools.gemspec from yaml' do