tests/deltacloud/test_setup.rb
# Only run tests if collection +name+ is supported by current
# driver. Use inside a 'describe' block. Tests that are not run because
# of a missing collection are marked as skipped
Only run tests if collection +name+ is supported by current
driver. Use inside a 'describe' block. Tests that are not run because
of a missing collection are marked as skipped
Only run tests if collection + name + is supported by current driver . Use inside a ' describe ' block . Tests that are not run because of a missing collection are marked as skipped
def need_collection(name)
      before :each do
        unless api.collections.include?(name.to_sym)
          skip "#{api.driver} doesn't support #{name}"
        end
      end
    end
def need_collection ( name ) before :each do unless api . collections . include? ( name . to_sym ) skip "#{api.driver} doesn't support #{name}" end end end
Only run tests if collection +name+ is supported by current
driver.
Only run tests if collection + name + is supported by current driver .
name
<not_specific>