Skip to content

Commit eb5bf68

Browse files
author
remi Taylor
authored
Merge pull request #57 from GoogleCloudPlatform/fix-bigquery-style-offenses
BigQuery - fix STDOUT assertion and remove trailing whitespace
2 parents 4573b01 + 1e7d228 commit eb5bf68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bigquery/spec/bigquery_sample_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def capture &block
133133
describe "Managing Tables" do
134134

135135
example "create table" do
136-
@table.delete
136+
@table.delete
137137
expect(@dataset.table "test_table").to be nil
138138

139139
expect {
@@ -272,7 +272,7 @@ def capture &block
272272
table_id: @table.table_id,
273273
row_data: row_data_to_insert
274274
}.to output(
275-
275+
"Inserted rows successfully\n"
276276
).to_stdout
277277

278278
loaded_data = @table.data
@@ -347,7 +347,7 @@ def capture &block
347347
"FROM publicdata:samples.shakespeare"
348348
)
349349
end
350-
350+
351351
expect(captured_output).to include "Running query"
352352
expect(captured_output).to include "Waiting for query to complete"
353353
expect(captured_output).to include "Query results:"

0 commit comments

Comments
 (0)