diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-20 14:18:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-20 14:18:08 +0300 |
commit | 5afcbe03ead9ada87621888a31a62652b10a7e4f (patch) | |
tree | 9918b67a0d0f0bafa6542e839a8be37adf73102d /spec/models/integration_spec.rb | |
parent | c97c0201564848c1f53226fe19d71fdcc472f7d0 (diff) |
Add latest changes from gitlab-org/gitlab@16-4-stable-eev16.4.0-rc42
Diffstat (limited to 'spec/models/integration_spec.rb')
-rw-r--r-- | spec/models/integration_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/integration_spec.rb b/spec/models/integration_spec.rb index 0b41b46ae3d..67e12092e1a 100644 --- a/spec/models/integration_spec.rb +++ b/spec/models/integration_spec.rb @@ -1041,9 +1041,9 @@ RSpec.describe Integration, feature_category: :integrations do it 'returns all fields with type `password`' do allow(subject).to receive(:fields).and_return( [ - { name: 'password', type: :password }, - { name: 'secret', type: :password }, - { name: 'public', type: :text } + Integrations::Field.new(name: 'password', integration_class: subject.class, type: :password), + Integrations::Field.new(name: 'secret', integration_class: subject.class, type: :password), + Integrations::Field.new(name: 'public', integration_class: subject.class, type: :text) ]) expect(subject.secret_fields).to match_array(%w[password secret]) |