Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
GitLab FOSS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
GitLab.org
GitLab FOSS
Commits
f6a97e6c
Commit
f6a97e6c
authored
8 years ago
by
David Eisner
Committed by
blackst0ne
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Tests for markdown HipChat notifications
parent
551c74ed
No related branches found
No related tags found
1 merge request
!9252
Add merge request count to each issue on issues list
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
spec/models/project_services/hipchat_service_spec.rb
+6
-6
6 additions, 6 deletions
spec/models/project_services/hipchat_service_spec.rb
with
6 additions
and
6 deletions
spec/models/project_services/hipchat_service_spec.rb
+
6
−
6
View file @
f6a97e6c
...
...
@@ -135,7 +135,7 @@
"<a href=
\"
#{
obj_attr
[
:url
]
}
\"
>issue #
#{
obj_attr
[
"iid"
]
}
</a> in "
\
"<a href=
\"
#{
project
.
web_url
}
\"
>
#{
project_name
}
</a>: "
\
"<b>Awesome issue</b>"
\
"<
pre><
p><strong>please</strong> fix</p>
\n
</pre>
"
)
"<p><strong>please</strong> fix</p>"
)
end
end
...
...
@@ -159,7 +159,7 @@
"<a href=
\"
#{
obj_attr
[
:url
]
}
\"
>merge request !
#{
obj_attr
[
"iid"
]
}
</a> in "
\
"<a href=
\"
#{
project
.
web_url
}
\"
>
#{
project_name
}
</a>: "
\
"<b>Awesome merge request</b>"
\
"<
pre><
p><strong>please</strong> fix</p>
\n
</pre>
"
)
"<p><strong>please</strong> fix</p>"
)
end
end
...
...
@@ -190,7 +190,7 @@
"<a href=
\"
#{
obj_attr
[
:url
]
}
\"
>commit
#{
commit_id
}
</a> in "
\
"<a href=
\"
#{
project
.
web_url
}
\"
>
#{
project_name
}
</a>: "
\
"
#{
title
}
"
\
"<
pre><
p>a comment on a commit</p>
\n
</pre>
"
)
"<p>a comment on a commit</p>"
)
end
end
...
...
@@ -222,7 +222,7 @@
"<a href=
\"
#{
obj_attr
[
:url
]
}
\"
>merge request !
#{
merge_id
}
</a> in "
\
"<a href=
\"
#{
project
.
web_url
}
\"
>
#{
project_name
}
</a>: "
\
"<b>
#{
title
}
</b>"
\
"<
pre><
p>merge request <strong>note</strong></p>
\n
</pre>
"
)
"<p>merge request <strong>note</strong></p>"
)
end
end
...
...
@@ -247,7 +247,7 @@
"<a href=
\"
#{
obj_attr
[
:url
]
}
\"
>issue #
#{
issue_id
}
</a> in "
\
"<a href=
\"
#{
project
.
web_url
}
\"
>
#{
project_name
}
</a>: "
\
"<b>
#{
title
}
</b>"
\
"<
pre><
p>issue <strong>note</strong></p>
\n
</pre>
"
)
"<p>issue <strong>note</strong></p>"
)
end
end
...
...
@@ -275,7 +275,7 @@
"<a href=
\"
#{
obj_attr
[
:url
]
}
\"
>snippet #
#{
snippet_id
}
</a> in "
\
"<a href=
\"
#{
project
.
web_url
}
\"
>
#{
project_name
}
</a>: "
\
"<b>
#{
title
}
</b>"
\
"<
pre><
p>snippet note</p>
\n
</pre>
"
)
"<p>snippet note</p>"
)
end
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment