spec/config_spec.rb in jbundler-0.9.2 vs spec/config_spec.rb in jbundler-0.9.3
- old
+ new
@@ -33,11 +33,11 @@
c.verbose.must_equal nil
c.local_repository.must_equal './.m2/repository'
c.jarfile.must_equal File.join( basedir, 'spec', 'Jarfile' )
c.gemfile.must_equal File.join( basedir, 'spec', 'Gemfile' )
c.skip.must_equal nil
- c.settings.must_equal "./.m2/settings.xml"
+ c.settings.must_equal File.expand_path("settings.xml")
c.offline.must_equal false
c.work_dir.must_equal File.join( basedir, 'spec','pkg' )
c.vendor_dir.must_equal File.join( basedir, 'spec', 'vendor', 'jars' )
end
end
@@ -136,10 +136,11 @@
c.verbose.must_equal true
c.local_repository.must_equal File.join( pdir, 'local_repository' )
c.jarfile.must_equal File.join( pdir, 'JarFile' )
c.gemfile.must_equal File.join( pdir, 'GemFile' )
c.skip.must_equal false
- c.settings.must_equal File.join( pdir, 'Settings.xml' )
+ # names are case insensitive
+ c.settings.downcase.must_equal File.join( pdir, 'Settings.xml' ).downcase
c.offline.must_equal true
c.work_dir.must_equal File.join( pdir, 'pkg/work' )
c.vendor_dir.must_equal File.join( pdir, 'vendor/localjars' )
end
end