spec/gemspec_dependencies_spec.rb in maven-tools-1.2.0.pre1 vs spec/gemspec_dependencies_spec.rb in maven-tools-1.2.0
- old
+ new
@@ -5,11 +5,11 @@
let( :spec ) do
Gem::Specification.new do |s|
s.add_dependency 'thor', '>= 0.14.6', '< 2.0'
s.add_dependency 'maven-tools', "~> 0.32.3"
- s.add_development_dependency 'minitest', '~> 5.0'
+ s.add_development_dependency 'minitest', '~> 5.3'
s.add_development_dependency 'rake', '~> 10.0'
s.requirements << 'jar sdas:das:tes, 123'
s.requirements << 'jar sdas:das, 123'
s.requirements << 'jar sdas.asd:das, 123, [fds:fre]'
s.requirements << 'jar sdas.asd:das:bla, 123,[fds:fre, ferf:de]'
@@ -24,10 +24,10 @@
subject { Maven::Tools::GemspecDependencies.new( spec ) }
it 'should setup artifact' do
subject.runtime.must_equal ["rubygems:thor:[0.14.6,2.0)", "rubygems:maven-tools:[0.32.3,0.32.99999]"]
- subject.development.must_equal ["rubygems:minitest:[5.0,5.99999]", "rubygems:rake:[10.0,10.99999]"]
+ subject.development.must_equal ["rubygems:minitest:[5.3,5.99999]", "rubygems:rake:[10.0,10.99999]"]
subject.java_runtime.must_equal [ ["sdas", "das", "jar", "tes", "123"],
["sdas", "das", "jar", "123"],
["sdas.asd", "das", "jar", "123", ["fds:fre"]],
["sdas.asd", "das", "jar", "bla", "123", ["fds:fre", "ferf:de"]],
["sdas.asd", "das", "jar", "blub", "123", ["fds:fre", "ferf:de"]],