Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
590dc080
Commit
590dc080
authored
Jun 29, 2021
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove references to service in spec/models/integrations/redmine_spec.rb
parent
8bd3a911
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
spec/models/integrations/redmine_spec.rb
spec/models/integrations/redmine_spec.rb
+5
-5
No files found.
spec/models/integrations/redmine_spec.rb
View file @
590dc080
...
...
@@ -18,7 +18,7 @@ RSpec.describe Integrations::Redmine do
allow
(
Gitlab
.
config
).
to
receive
(
:issues_tracker
).
and_return
(
settings
)
end
context
'when
service
is active'
do
context
'when
integration
is active'
do
before
do
subject
.
active
=
true
end
...
...
@@ -27,12 +27,12 @@ RSpec.describe Integrations::Redmine do
it
{
is_expected
.
to
validate_presence_of
(
:issues_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
service
URL attribute'
,
:issues_url
it_behaves_like
'issue tracker
service
URL attribute'
,
:new_issue_url
it_behaves_like
'issue tracker
integration
URL attribute'
,
:project_url
it_behaves_like
'issue tracker
integration
URL attribute'
,
:issues_url
it_behaves_like
'issue tracker
integration
URL attribute'
,
:new_issue_url
end
context
'when
service
is inactive'
do
context
'when
integration
is inactive'
do
before
do
subject
.
active
=
false
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment