spec/pom_spec.rb in maven-tools-1.0.13 vs spec/pom_spec.rb in maven-tools-1.1.0
- old
+ new
@@ -16,10 +16,10 @@
pom_xml.sub!( /<project([^>]|\n)*>/, '<project>' )
pom_xml.gsub!( /io.tesla.polyglot/, 'io.takari.polyglot' )
pom_xml.gsub!( /tesla-polyglot/, 'polyglot' )
pom_xml.gsub!( /${tesla.version}/, Maven::Tools::VERSIONS[ :polyglot_version ] )
- pom.to_s.gsub( /#{File.expand_path( dir )}\//, '' ).must_equal pom_xml
+ pom.to_s.must_equal pom_xml
end
end
end
end