diff options
Diffstat (limited to 'features')
-rw-r--r-- | features/step_definitions/aspects_steps.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/features/step_definitions/aspects_steps.rb b/features/step_definitions/aspects_steps.rb index 4a5c9e577..5be963ddb 100644 --- a/features/step_definitions/aspects_steps.rb +++ b/features/step_definitions/aspects_steps.rb @@ -119,8 +119,6 @@ When /^(.*) in the aspect creation modal$/ do |action| end When /^I drag "([^"]*)" (up|down)$/ do |aspect_name, direction| - expect(page).to have_js_defined("$('body').sortable") - page.execute_script("$('#aspect_nav .list-group').sortable('option', 'tolerance', 'pointer');") aspect_id = @me.aspects.where(name: aspect_name).first.id aspect = find(:xpath, "//div[@id='aspect_nav']/ul/a[@data-aspect-id='#{aspect_id}']") target = direction == "up" ? aspect.all(:xpath, "./preceding-sibling::a").last : |