Add bnd repository during tests so that the tests will work on nodes where it does...
[buildr.git] / spec / addon / bnd_spec.rb
index d233b5b..dc99d51 100644 (file)
@@ -32,6 +32,9 @@ def open_main_manifest_section(file = 'target/foo-2.1.3.jar')
 end\r
 \r
 describe Buildr::Bnd do\r
+  before do\r
+    repositories.remote << Buildr::Bnd.remote_repository\r
+  end\r
 \r
   describe "project.bnd version (assure backward compatibility)" do\r
 \r