Skip to content

Commit

Permalink
remove rspec debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
oraposa committed Sep 16, 2021
1 parent b8b8798 commit 17f833d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/uploaders/zizia/csv_manifest_validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ def missing_headers
end

def required_headers(object_type = "w")
# for rspec
# puts "object type is #{object_type}"
if object_type == "c"
['title', 'visibility']
else
Expand All @@ -85,10 +83,6 @@ def required_headers(object_type = "w")
def duplicate_headers
duplicates = []
sorted_headers = @transformed_headers.sort

# for rspec
# puts "transformed headers: #{@transformed_headers}"

sorted_headers.each_with_index do |x, i|
duplicates << x if x == sorted_headers[i + 1]
end
Expand Down

0 comments on commit 17f833d

Please sign in to comment.