You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by mf...@redhat.com on 2012/07/26 13:29:35 UTC

[PATCH core 6/9] Core: Removed providers test from Library

From: Michal Fojtik <mf...@redhat.com>

Since the providers method on Library is now returing
providers based on current driver configuration, this
test is now obsoleted and should be replaced with VCR
test for specific driver.

Signed-off-by: Michal fojtik <mf...@redhat.com>
---
 server/tests/drivers/base/library_test.rb |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/server/tests/drivers/base/library_test.rb b/server/tests/drivers/base/library_test.rb
index 5f68145..a4a7f2f 100644
--- a/server/tests/drivers/base/library_test.rb
+++ b/server/tests/drivers/base/library_test.rb
@@ -28,10 +28,6 @@ describe 'Deltacloud API Library' do
     Deltacloud.new(:mock).current_provider.must_be_nil
   end
 
-  it 'should return pre-defined providers for the driver' do
-    Deltacloud.new(:ec2).providers[:entrypoints].must_be_kind_of Hash
-  end
-
   it 'should yield the backend driver' do
     Deltacloud.new :mock do |mock|
       mock.must_be_instance_of Deltacloud::Drivers::Mock::MockDriver
-- 
1.7.10.2