diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-21 11:35:53 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-21 11:36:43 +0300 |
commit | 0c650dc0e2d030b6cfd39bbe25f88c5e349f5c70 (patch) | |
tree | cffcf71ab95c80646f12f9cb26f86bd1cf50e3c5 /spec/lib/gitlab/google_code_import | |
parent | 1419e94816396d699777ab220e3625429bd40b68 (diff) |
Update Google Code importer test.
Diffstat (limited to 'spec/lib/gitlab/google_code_import')
-rw-r--r-- | spec/lib/gitlab/google_code_import/importer_spec.rb | 7 |
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)') |