summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-21 10:35:53 +0200
committerDouwe Maan <douwe@gitlab.com>2015-04-21 10:36:43 +0200
commit0c650dc0e2d030b6cfd39bbe25f88c5e349f5c70 (patch)
treecffcf71ab95c80646f12f9cb26f86bd1cf50e3c5
parent1419e94816396d699777ab220e3625429bd40b68 (diff)
downloadgitlab-ce-google-code-fixes.tar.gz
Update Google Code importer test.google-code-fixes
-rw-r--r--spec/lib/gitlab/google_code_import/importer_spec.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/lib/gitlab/google_code_import/importer_spec.rb b/spec/lib/gitlab/google_code_import/importer_spec.rb
index 1c4503ae0ef..67378328336 100644
--- a/spec/lib/gitlab/google_code_import/importer_spec.rb
+++ b/spec/lib/gitlab/google_code_import/importer_spec.rb
@@ -57,10 +57,11 @@ describe Gitlab::GoogleCodeImport::Importer do
expect(issue.label_names).to include("Type: Enhancement")
expect(issue.title).to eq("Scrolling through tasks")
expect(issue.state).to eq("closed")
- expect(issue.description).to include("schattenpr...")
+ expect(issue.description).to include("schattenpr\\.\\.\\.")
expect(issue.description).to include("November 18, 2009 00:20")
- expect(issue.description).to include('I like to scroll through the tasks with my scrollwheel \(like in fluxbox\).')
- expect(issue.description).to include('Patch is attached that adds two new mouse\-actions \(next\_taskprev\_task\)')
+ expect(issue.description).to include("Google Code")
+ expect(issue.description).to include('I like to scroll through the tasks with my scrollwheel (like in fluxbox).')
+ expect(issue.description).to include('Patch is attached that adds two new mouse-actions (next_task+prev_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('[tint2_task_scrolling.diff](https://storage.googleapis.com/google-code-attachments/tint2/issue-169/comment-0/tint2_task_scrolling.diff)')