We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdb0d3a commit e51a2feCopy full SHA for e51a2fe
2 files changed
test/sanity/configuration_test.rb
@@ -5,6 +5,17 @@
5
describe Sanity::Configuration do
6
subject { Sanity::Configuration.new }
7
8
+ after do
9
+ Sanity.use_global_config = false
10
+ Sanity.configure do |config|
11
+ config.project_id = ""
12
+ config.dataset = ""
13
+ config.api_version = ""
14
+ config.token = ""
15
+ config.use_cdn = false
16
+ end
17
18
+
19
it { assert_equal "", subject.project_id }
20
it { assert_equal "", subject.dataset }
21
it { assert_equal "", subject.api_version }
test/sanity/http/where_test.rb
@@ -7,19 +7,7 @@
let(:resource_class) do
Class.new do
def self.where_api_endpoint
- "query/production"
- end
-
- def self.project_id
- "test-project"
- def self.dataset
- "production"
- def self.api_version
22
- "v1"
+ "test"
23
end
24
25
0 commit comments