Commit 0ae91de2 authored by Rémy Coutable's avatar Rémy Coutable

Fix lock file spec

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 96f5089f
...@@ -17,13 +17,12 @@ feature 'Path Locks', feature: true, js: true do ...@@ -17,13 +17,12 @@ feature 'Path Locks', feature: true, js: true do
scenario 'Locking folders' do scenario 'Locking folders' do
within '.tree-content-holder' do within '.tree-content-holder' do
click_link "encoding" click_link "encoding"
end
click_link "Lock" click_link "Lock"
visit project_tree_path visit project_tree_path
expect(page).to have_selector('.fa-lock') expect(page).to have_selector('.fa-lock')
end end
end
scenario 'Locking files' do scenario 'Locking files' do
page_tree = find('.tree-content-holder') page_tree = find('.tree-content-holder')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment