Commit cd53dbe2f27d4dc09ca293830dc867057f3fff4c
1 parent
67fbf37f
Exists in
master
and in
1 other branch
cleanup ideas export test
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
spec/models/question_spec.rb
... | ... | @@ -473,7 +473,7 @@ describe Question do |
473 | 473 | end |
474 | 474 | end |
475 | 475 | |
476 | - it "should export idea data to a csv file" do | |
476 | + it "should export idea data to a csv file with proper escaping" do | |
477 | 477 | filename = @aoi_question.export('ideas') |
478 | 478 | |
479 | 479 | filename.should_not be nil |
... | ... | @@ -490,7 +490,7 @@ describe Question do |
490 | 490 | row[2].should =~ /^foo.bar$/m |
491 | 491 | end |
492 | 492 | |
493 | - #File.delete(filename).should_not be_nil | |
493 | + File.delete(filename).should_not be_nil | |
494 | 494 | |
495 | 495 | end |
496 | 496 | ... | ... |