mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
Lock down the controllers
This commit is contained in:
parent
3045c08b3e
commit
3b1e632ab7
36 changed files with 166 additions and 97 deletions
3
spec/fabricators/role_fabricator.rb
Normal file
3
spec/fabricators/role_fabricator.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
Fabricator(:role) do
|
||||
code 'admin'
|
||||
end
|
|
@ -3,6 +3,6 @@ Fabricator(:user) do
|
|||
password 'ghyt9e4fu'
|
||||
email 'info@gitlab.eu'
|
||||
identity_code '37810013108'
|
||||
admin true
|
||||
country
|
||||
role
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue