We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c2072f + fe37f3e commit cdd7031Copy full SHA for cdd7031
1 file changed
spec/octocatalog-diff/tests/api/v1.rb …ec/octocatalog-diff/tests/api/v1_spec.rbspec/octocatalog-diff/tests/api/v1.rb renamed to spec/octocatalog-diff/tests/api/v1_spec.rb
@@ -20,4 +20,12 @@
20
expect { described_class.catalog_diff(args) }.not_to raise_error
21
end
22
23
+
24
+ describe '#config' do
25
+ it 'should call CatalogDiff.config with passed-in arguments' do
26
+ args = { foo: 'bar' }
27
+ expect(OctocatalogDiff::API::V1::Config).to receive(:config).with(args)
28
+ expect { described_class.config(args) }.not_to raise_error
29
+ end
30
31
0 commit comments