Commit afcc0b56f21a3be181cbe1dd445c2e8b7991d359
1 parent
dd96f50d
Exists in
master
and in
1 other branch
fix skips error message to include skips.id
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/tasks/test_api.rake
... | ... | @@ -291,7 +291,7 @@ namespace :test_api do |
291 | 291 | AND appearances.question_id = #{question.id}" |
292 | 292 | bad_records = Skip.connection.select_all skips_sql |
293 | 293 | bad_records.each do |record| |
294 | - error_message += "Appearance ##{record["id"]} session does not match the session of Skip ##{record["votes_id"]}\n" | |
294 | + error_message += "Appearance ##{record["id"]} session does not match the session of Skip ##{record["skips_id"]}\n" | |
295 | 295 | end |
296 | 296 | return error_message.blank? ? [success_message, false] : [error_message, true] |
297 | 297 | end | ... | ... |