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
e652787c
Commit
e652787c
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/asana_spec.rb
parent
8bd3a911
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/models/integrations/asana_spec.rb
spec/models/integrations/asana_spec.rb
+2
-2
No files found.
spec/models/integrations/asana_spec.rb
View file @
e652787c
...
...
@@ -48,7 +48,7 @@ RSpec.describe Integrations::Asana do
)
end
it
'calls Asana
service
to create a story'
do
it
'calls Asana
integration
to create a story'
do
data
=
create_data_for_commits
(
"Message from commit. related to #
#{
gid
}
"
)
expected_message
=
"
#{
data
[
:user_name
]
}
pushed to branch
#{
data
[
:ref
]
}
of
#{
project
.
full_name
}
(
#{
data
[
:commits
][
0
][
:url
]
}
):
#{
data
[
:commits
][
0
][
:message
]
}
"
...
...
@@ -59,7 +59,7 @@ RSpec.describe Integrations::Asana do
@asana
.
execute
(
data
)
end
it
'calls Asana
service
to create a story and close a task'
do
it
'calls Asana
integration
to create a story and close a task'
do
data
=
create_data_for_commits
(
'fix #456789'
)
d1
=
double
(
'Asana::Resources::Task'
)
expect
(
d1
).
to
receive
(
:add_comment
)
...
...
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