fix #1256 by changing the layout of the context view to match the project view

This commit is contained in:
Reinier Balt 2012-03-21 18:09:20 +01:00
parent f9232a7e9d
commit dea8734498
9 changed files with 57 additions and 63 deletions

View file

@ -44,7 +44,7 @@ When /^I drag context "([^"]*)" above context "([^"]*)"$/ do |context_drag, cont
drag_index = context_list_find_index(context_drag)
drop_index = context_list_find_index(context_drop)
page.execute_script "$('#{sortable_css}').simulateDragSortable({move: #{drop_index-drag_index}, handle: '.handle'});"
page.execute_script "$('#{sortable_css}').simulateDragSortable({move: #{drop_index-drag_index}, handle: '.grip'});"
end
Then /^context "([^"]*)" should be above context "([^"]*)"$/ do |context_high, context_low|