diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-04 15:19:05 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-04 15:19:05 +0300 |
commit | 06399b3261a4118bf5ab2d2c6fcee7aad869bc66 (patch) | |
tree | e87572c671ba0566b32129840a0b7a6dbc3820e0 /spec/lib/gitlab/google_code_import | |
parent | e8fb197da285e7af1d39ba626f2f0f5c20c17eed (diff) |
Show Google Code image attachments inline.
Diffstat (limited to 'spec/lib/gitlab/google_code_import')
-rw-r--r-- | spec/lib/gitlab/google_code_import/importer_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/lib/gitlab/google_code_import/importer_spec.rb b/spec/lib/gitlab/google_code_import/importer_spec.rb index ee5f99c12b0..408553a98f2 100644 --- a/spec/lib/gitlab/google_code_import/importer_spec.rb +++ b/spec/lib/gitlab/google_code_import/importer_spec.rb @@ -49,7 +49,8 @@ describe Gitlab::GoogleCodeImport::Importer do expect(issue.description).to include('Patch is attached that adds two new mouse\-actions \(next\_taskprev\_task\)') expect(issue.description).to include('that can be used for exactly that purpose.') expect(issue.description).to include('all the best!') - expect(issue.description).to include('https://storage.googleapis.com/google-code-attachments/tint2/issue-169/comment-0/tint2_task_scrolling.diff') + expect(issue.description).to include('[tint2_task_scrolling.diff](https://storage.googleapis.com/google-code-attachments/tint2/issue-169/comment-0/tint2_task_scrolling.diff)') + expect(issue.description).to include('![screenshot.png](https://storage.googleapis.com/google-code-attachments/tint2/issue-169/comment-0/screenshot.png)') end it "imports issue comments" do |