diff options
Diffstat (limited to 'spec/models/service_desk_setting_spec.rb')
-rw-r--r-- | spec/models/service_desk_setting_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/service_desk_setting_spec.rb b/spec/models/service_desk_setting_spec.rb index dba33e829c6..b9679b82bd0 100644 --- a/spec/models/service_desk_setting_spec.rb +++ b/spec/models/service_desk_setting_spec.rb @@ -82,8 +82,8 @@ RSpec.describe ServiceDeskSetting, feature_category: :service_desk do # group1/test/one and group1/test-one will both have 'group-test-one' slug let_it_be(:group) { create(:group) } let_it_be(:subgroup) { create(:group, parent: group, name: 'test') } - let_it_be(:project1) { create(:project, name: 'test-one', group: group) } - let_it_be(:project2) { create(:project, name: 'one', group: subgroup) } + let_it_be(:project1) { create(:project, path: 'test-one', group: group) } + let_it_be(:project2) { create(:project, path: 'one', group: subgroup) } let_it_be(:project_key) { 'key' } let!(:setting) do create(:service_desk_setting, project: project1, project_key: project_key) |