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