From 301587a404e0d1f35f73147748cbeec87bd04e7d Mon Sep 17 00:00:00 2001 From: Luke Baker Date: Mon, 2 Dec 2013 12:47:13 -0500 Subject: [PATCH] update column tests for CSV files --- spec/models/question_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/models/question_spec.rb b/spec/models/question_spec.rb index 4446f95..637a1af 100644 --- a/spec/models/question_spec.rb +++ b/spec/models/question_spec.rb @@ -568,7 +568,8 @@ describe Question do csv = @aoi_question.export('non_votes') rows = CSVBridge.parse(csv) - rows.first.should include("Record ID") + rows.first.should include("Skip ID") + rows.first.should include("Appearance ID") rows.first.should include("Record Type") rows.first.should_not include("Idea ID") # ensure we have more than just the header row @@ -666,6 +667,7 @@ describe Question do # rows = CSVBridge.parse(csv) rows.first.should include("Vote ID") + rows.first.should include("Appearance ID") rows.first.should_not include("Idea ID") rows.shift -- libgit2 0.21.2