spec/java/java_spec.rb in assaf-buildr-1.3.3 vs spec/java/java_spec.rb in assaf-buildr-1.3.4
- old
+ new
@@ -83,6 +83,14 @@
end
after do
ENV['JAVA_HOME'] = @old_home
end
-end
\ No newline at end of file
+end
+
+
+describe Java::JavaWrapper do
+ it 'should be removed in version 1.5 since it was deprecated in version 1.3' do
+ Buildr::VERSION.should < '1.5'
+ lambda { Java::JavaWrapper }.should_not raise_error
+ end
+end