diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-11 10:45:18 +0300 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-11 10:45:18 +0300 |
| commit | 1743cbf1d8f7fde1595c6b95a417f8a5e2f4d62c (patch) | |
| tree | 4f1f1ae76eb2d8daeab85bad408a1ff59ed320aa /features/steps/shared/note.rb | |
| parent | c351b8a3e53c05c73f3365cc738c9437e8774392 (diff) | |
| download | gitlab-ce-1743cbf1d8f7fde1595c6b95a417f8a5e2f4d62c.tar.gz | |
Update capybara to 2.1, poltergeist to master
Diffstat (limited to 'features/steps/shared/note.rb')
| -rw-r--r-- | features/steps/shared/note.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb index e0ff52a7252..da08da9420d 100644 --- a/features/steps/shared/note.rb +++ b/features/steps/shared/note.rb @@ -2,8 +2,8 @@ module SharedNote include Spinach::DSL Given 'I delete a comment' do - sleep 1 - first(".js-note-delete").trigger("click") + find('.note').hover + find(".js-note-delete").click end Given 'I haven\'t written any comment text' do |
