Skip to content

Commit 1598a96

Browse files
author
Frank Natividad
committed
Updated variable name of timestamp to current_time
1 parent 1a80633 commit 1598a96

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bigquery/spec/bigquery_sample_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
@bucket = @storage.bucket ENV["GOOGLE_CLOUD_STORAGE_BUCKET"]
2929
@tempfiles = []
3030

31-
file_time = Time.now.to_i
32-
@file_name = "bigquery-test_#{file_time}"
33-
@dataset_name = "test_dataset_#{file_time}"
34-
@table_name = "test_table_#{file_time}"
31+
current_time = Time.now.to_i
32+
@file_name = "bigquery-test_#{current_time}"
33+
@dataset_name = "test_dataset_#{current_time}"
34+
@table_name = "test_table_#{current_time}"
3535

3636
@dataset = @bigquery.create_dataset @dataset_name
3737
@table = @dataset.create_table @table_name do |schema|

0 commit comments

Comments
 (0)