fix lint warnings for tracks.js - first pass

found on codeclimate. this is the first pass
This commit is contained in:
Reinier Balt 2014-06-26 14:49:25 +02:00
parent 45884bbe05
commit 8955480e62
2 changed files with 48 additions and 34 deletions

View file

@ -20,6 +20,7 @@ When /^I drag the project "([^"]*)" below "([^"]*)"$/ do |project_drag, project_
drop_index = project_list_find_index(project_drop)
page.execute_script "$('#{sortable_css}').simulateDragSortable({move: #{drop_index-drag_index}, handle: '.grip'});"
sleep 0.1 # wait for the js to process the drop
end
When /^I submit a new project with name "([^"]*)"$/ do |project_name|