Update gitaly.md
This commit is contained in:
parent
211e78d594
commit
e5450017d2
1 changed files with 4 additions and 2 deletions
|
@ -89,8 +89,10 @@ can be tested against. This requires the `:request_store` flag to be set.
|
|||
|
||||
```ruby
|
||||
describe 'Gitaly Request count tests' do
|
||||
it 'correctly counts the gitaly requests made' do
|
||||
expect { subject }.to change { Gitlab::GitalyClient.get_request_count }.by(10)
|
||||
context 'when the request store is activated', :request_store do
|
||||
it 'correctly counts the gitaly requests made' do
|
||||
expect { subject }.to change { Gitlab::GitalyClient.get_request_count }.by(10)
|
||||
end
|
||||
end
|
||||
end
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue