# File tests/drivers/mock/api_test.rb, line 53
    def test_it_switches_drivers
      with_provider("") do
        get_auth_url '/api'
        (last_xml_response/"api/link[rel = 'instances']").first.should_not == nil
      end

      # Switch to storage-only mock driver
      with_provider("storage") do
        get_auth_url '/api'
        (last_xml_response/"api/link[rel = 'instances']").first.should == nil
      end
    end