summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-04-14 10:14:12 +0100
committerJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-04-16 16:13:16 -0400
commit2629ab4472c535416791cfc13b41c7f50d7d343c (patch)
tree6196c6af4ab0f819b7e511f471256d00c2a45411
parenta716e8eadcb93779f1a89f05c0ed1a6b72a8dc6b (diff)
downloadgitlab-ce-2629ab4472c535416791cfc13b41c7f50d7d343c.tar.gz
Fixed tests
-rw-r--r--app/helpers/issuables_helper.rb2
-rw-r--r--app/views/projects/issues/show.html.haml8
2 files changed, 5 insertions, 5 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb
index e1b5af242f2..49b6b79ce35 100644
--- a/app/helpers/issuables_helper.rb
+++ b/app/helpers/issuables_helper.rb
@@ -57,7 +57,7 @@ module IssuablesHelper
def issuable_meta(issuable, project, text)
output = content_tag :strong, "#{text} #{issuable.to_reference}", class: "identifier"
- output << " opened #{time_ago_with_tooltip(issuable.created_at, skip_js: true)} by".html_safe
+ output << " opened #{time_ago_with_tooltip(issuable.created_at)} by".html_safe
output << content_tag(:strong) do
author_output = link_to_member(project, issuable.author, size: 24, mobile_classes: "hidden-xs")
author_output << link_to_member(project, issuable.author, size: 24, by_username: true, avatar: false, mobile_classes: "hidden-sm hidden-md hidden-lg")
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml
index e07ac04baf6..9fce9c3f336 100644
--- a/app/views/projects/issues/show.html.haml
+++ b/app/views/projects/issues/show.html.haml
@@ -62,11 +62,11 @@
= @issue.description
= edited_time_ago_with_tooltip(@issue, placement: 'bottom', html_class: 'issue_edited_ago')
- #merge-requests{'data-url' => referenced_merge_requests_namespace_project_issue_url(@project.namespace, @project, @issue)}
- // This element is filled in using JavaScript.
+ #merge-requests{ data: { url: referenced_merge_requests_namespace_project_issue_url(@project.namespace, @project, @issue) } }
+ // This element is filled in using JavaScript.
- #related-branches{'data-url' => related_branches_namespace_project_issue_url(@project.namespace, @project, @issue)}
- // This element is filled in using JavaScript.
+ #related-branches{ data: { url: related_branches_namespace_project_issue_url(@project.namespace, @project, @issue) } }
+ // This element is filled in using JavaScript.
.content-block.content-block-small
= render 'new_branch'