From f8108e8babfb7d9c39296b217484d8b7942ac122 Mon Sep 17 00:00:00 2001 From: Daniel Azuma Date: Fri, 8 Jun 2018 10:34:45 -0700 Subject: [PATCH] Add necessary requires to bigtable tests (#2106) * Move all requires to test_helper because it's cleaner that way --- .../test/google/cloud/bigtable/instance_admin_client_test.rb | 1 - .../test/google/cloud/bigtable/table_admin_client_test.rb | 1 - google-cloud-bigtable/test/test_helper.rb | 2 ++ 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-bigtable/test/google/cloud/bigtable/instance_admin_client_test.rb b/google-cloud-bigtable/test/google/cloud/bigtable/instance_admin_client_test.rb index 54673c703626..fcf7dc126389 100644 --- a/google-cloud-bigtable/test/google/cloud/bigtable/instance_admin_client_test.rb +++ b/google-cloud-bigtable/test/google/cloud/bigtable/instance_admin_client_test.rb @@ -14,7 +14,6 @@ require "test_helper" -require "google/cloud/bigtable/instance_admin_client" class InstanceAdminTestError < StandardError def initialize(operation_name) diff --git a/google-cloud-bigtable/test/google/cloud/bigtable/table_admin_client_test.rb b/google-cloud-bigtable/test/google/cloud/bigtable/table_admin_client_test.rb index 37d0c913f99a..167fa47955ac 100644 --- a/google-cloud-bigtable/test/google/cloud/bigtable/table_admin_client_test.rb +++ b/google-cloud-bigtable/test/google/cloud/bigtable/table_admin_client_test.rb @@ -14,7 +14,6 @@ require "test_helper" -require "google/cloud/bigtable/table_admin_client" class TableAdminTestError < StandardError def initialize(operation_name) diff --git a/google-cloud-bigtable/test/test_helper.rb b/google-cloud-bigtable/test/test_helper.rb index 9036c5a0d30d..dd5b4bbc98af 100644 --- a/google-cloud-bigtable/test/test_helper.rb +++ b/google-cloud-bigtable/test/test_helper.rb @@ -23,6 +23,8 @@ require "google/cloud/bigtable" require "google/cloud/bigtable/admin/credentials" require "google/cloud/bigtable/data_client" +require "google/cloud/bigtable/instance_admin_client" +require "google/cloud/bigtable/table_admin_client" require "google/cloud/bigtable/table_data_operations" require "google/cloud/bigtable"