mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-03 07:48:50 +01:00
fix lint warnings for tracks.js - first pass
found on codeclimate. this is the first pass
This commit is contained in:
parent
45884bbe05
commit
8955480e62
2 changed files with 48 additions and 34 deletions
|
|
@ -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|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue