Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4d29bc95
Commit
4d29bc95
authored
May 17, 2021
by
Rajendra Kadam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make linter happy
parent
d3340799
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
doc/development/testing_guide/best_practices.md
doc/development/testing_guide/best_practices.md
+1
-1
No files found.
doc/development/testing_guide/best_practices.md
View file @
4d29bc95
...
@@ -907,7 +907,7 @@ copy the same schema to `spec/fixtures/product_intelligence/` directory.
...
@@ -907,7 +907,7 @@ copy the same schema to `spec/fixtures/product_intelligence/` directory.
1.
From the schema, remove
`"$schema"`
key and value. We do not need it for specs
1.
From the schema, remove
`"$schema"`
key and value. We do not need it for specs
and spec fails if we keep the key as it tries to look for the schema in the URL.
and spec fails if we keep the key as it tries to look for the schema in the URL.
1.
Use the following snippet to call the matcher:
1.
Use the following snippet to call the matcher:
```
r
b
```
r
uby
match_snowplow_context_schema
(
schema_path:
'<filename from step 1>'
,
context:
<
Context
Hash
>
)
match_snowplow_context_schema
(
schema_path:
'<filename from step 1>'
,
context:
<
Context
Hash
>
)
```
```
### Table-based / Parameterized tests
### Table-based / Parameterized tests
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment