Commit a362b14e authored by Alex Kalderimis's avatar Alex Kalderimis

Remove references to service in open_project model spec

parent 4c5ee223
...@@ -4,7 +4,7 @@ require 'spec_helper' ...@@ -4,7 +4,7 @@ require 'spec_helper'
RSpec.describe Integrations::OpenProject do RSpec.describe Integrations::OpenProject do
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
...@@ -13,11 +13,11 @@ RSpec.describe Integrations::OpenProject do ...@@ -13,11 +13,11 @@ RSpec.describe Integrations::OpenProject do
it { is_expected.to validate_presence_of(:token) } it { is_expected.to validate_presence_of(:token) }
it { is_expected.to validate_presence_of(:project_identifier_code) } it { is_expected.to validate_presence_of(:project_identifier_code) }
it_behaves_like 'issue tracker service URL attribute', :url it_behaves_like 'issue tracker integration URL attribute', :url
it_behaves_like 'issue tracker service URL attribute', :api_url it_behaves_like 'issue tracker integration URL attribute', :api_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