Commit 16ae5e97 authored by Andrejs Cunskis's avatar Andrejs Cunskis

Print full failures object in project migration spec

parent 356559d1
...@@ -83,7 +83,7 @@ module QA ...@@ -83,7 +83,7 @@ module QA
aggregate_failures do aggregate_failures do
expect(imported_projects.first).to eq(source_project) expect(imported_projects.first).to eq(source_project)
expect(project_import_failures).to be_empty expect(project_import_failures).to be_empty, "Expected no errors, was: #{project_import_failures}"
end end
end end
end end
...@@ -125,7 +125,7 @@ module QA ...@@ -125,7 +125,7 @@ module QA
aggregate_failures do aggregate_failures do
expect(imported_issues.count).to eq(1) expect(imported_issues.count).to eq(1)
expect(imported_issue.reload!).to eq(source_issue) expect(imported_issue.reload!).to eq(source_issue)
expect(project_import_failures).to be_empty expect(project_import_failures).to be_empty, "Expected no errors, was: #{project_import_failures}"
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment