Commit 4a61262a authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'docs-remove-create-default-freeze' into 'master'

Docs: Remove create_default examples with freeze

See merge request gitlab-org/gitlab!60379
parents ade2d3e8 2c4bcf47
......@@ -168,7 +168,7 @@ can be used:
```ruby
RSpec.describe API::Search, factory_default: :keep do
let_it_be(:namespace) { create_default(:namespace).freeze }
let_it_be(:namespace) { create_default(:namespace) }
```
Then every project we create uses this `namespace`, without us having to pass
......@@ -186,7 +186,7 @@ projects we create are ones we ask for (76/208). There is benefit in setting
a default value for projects as well:
```ruby
let_it_be(:project) { create_default(:project).freeze }
let_it_be(:project) { create_default(:project) }
```
In this case, the `total time` and `top-level time` numbers match more closely:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment