diff options
author | Stan Hu <stanhu@gmail.com> | 2015-10-07 07:08:27 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-10-07 16:52:11 +0300 |
commit | 75bb1087df785e75fb343a9e8721e8d636f7ce81 (patch) | |
tree | 519ac65a8d168c7c722fff335e4d620c04de9392 /spec/features/projects_spec.rb | |
parent | cc8c91a1183ebfc5bb252f5e7f3f09fc20546476 (diff) |
Allow removing of project without confirmation when JavaScript is disabled
Closes #2485
Diffstat (limited to 'spec/features/projects_spec.rb')
-rw-r--r-- | spec/features/projects_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects_spec.rb b/spec/features/projects_spec.rb index a362c54b9ad..aac93b17a38 100644 --- a/spec/features/projects_spec.rb +++ b/spec/features/projects_spec.rb @@ -50,7 +50,7 @@ feature 'Project', feature: true do end def remove_project - click_link "Remove project" + click_button "Remove project" fill_in 'confirm_name_input', with: project.path click_button 'Confirm' end |