We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e30a8d commit 77f01fcCopy full SHA for 77f01fc
test/bigquery.rb
@@ -20,9 +20,12 @@ def setup
20
end
21
22
def config
23
- return @config if @config
24
- config_data ||= File.expand_path(File.dirname(__FILE__) + "/../.bigquery_settings.yml")
25
- @config = YAML.load_file(config_data)
+ if defined? @config
+ return @config
+ else
26
+ config_data ||= File.expand_path(File.dirname(__FILE__) + "/../.bigquery_settings.yml")
27
+ @config = YAML.load_file(config_data)
28
+ end
29
30
31
def test_faraday_option_config
0 commit comments