spec/java/ant.rb in vic-buildr-1.3.3 vs spec/java/ant.rb in vic-buildr-1.3.4

- old
+ new

@@ -22,7 +22,12 @@ it 'should pick Ant version from ant build settings' do Buildr::Ant.instance_eval { @dependencies = nil } write 'build.yaml', 'ant: 1.2.3' Buildr::Ant.dependencies.should include("org.apache.ant:ant:jar:1.2.3") end + + it 'should have REQUIRES up to version 1.5 since it was deprecated in version 1.3.3' do + Buildr::VERSION.should < '1.5' + lambda { Ant::REQUIRES }.should_not raise_error + end end