Skip to content

Commit fbf0482

Browse files
committed
feat: implement integration tests
adicionar testes de integração e atualizar endpoints do swagger
1 parent e88c746 commit fbf0482

12 files changed

Lines changed: 5015 additions & 350 deletions

spec/factories/organizations.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
name { Faker::Esport.team }
44
slug { name.parameterize }
55
region { %w[BR NA EUW KR].sample }
6-
tier { %w[amateur semi_pro professional].sample }
6+
tier { %w[tier_3_amateur tier_2_semi_pro tier_1_professional].sample }
77
end
88
end

spec/factories/users.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
email { Faker::Internet.email }
55
password { 'password123' }
66
password_confirmation { 'password123' }
7-
first_name { Faker::Name.first_name }
8-
last_name { Faker::Name.last_name }
7+
full_name { Faker::Name.name }
98
role { 'analyst' }
10-
status { 'active' }
119

1210
trait :owner do
1311
role { 'owner' }

0 commit comments

Comments
 (0)