Commit 781078f4 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch '330300-ajk-model-specs-17' into 'master'

Rename references to services in EWM integration model specs

See merge request gitlab-org/gitlab!65026
parents feecc08a b1424c1e
...@@ -9,7 +9,7 @@ RSpec.describe Integrations::Ewm do ...@@ -9,7 +9,7 @@ RSpec.describe Integrations::Ewm do
end end
describe 'Validations' do describe 'Validations' do
context 'when service is active' do context 'when integration is active' do
before do before do
subject.active = true subject.active = true
end end
...@@ -17,12 +17,12 @@ RSpec.describe Integrations::Ewm do ...@@ -17,12 +17,12 @@ RSpec.describe Integrations::Ewm do
it { is_expected.to validate_presence_of(:project_url) } it { is_expected.to validate_presence_of(:project_url) }
it { is_expected.to validate_presence_of(:issues_url) } it { is_expected.to validate_presence_of(:issues_url) }
it { is_expected.to validate_presence_of(:new_issue_url) } it { is_expected.to validate_presence_of(:new_issue_url) }
it_behaves_like 'issue tracker service URL attribute', :project_url it_behaves_like 'issue tracker integration URL attribute', :project_url
it_behaves_like 'issue tracker service URL attribute', :issues_url it_behaves_like 'issue tracker integration URL attribute', :issues_url
it_behaves_like 'issue tracker service URL attribute', :new_issue_url it_behaves_like 'issue tracker integration URL attribute', :new_issue_url
end end
context 'when service is inactive' do context 'when integration is inactive' do
before do before do
subject.active = false subject.active = false
end end
......
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