From d323bb79ebc84751cc0a27e99db7ae1c2ec64fd8 Mon Sep 17 00:00:00 2001 From: Filipa Lacerda Date: Thu, 10 Aug 2017 16:48:22 +0100 Subject: Change fixtures of old tests --- spec/features/issues/note_polling_spec.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'spec/features/issues') diff --git a/spec/features/issues/note_polling_spec.rb b/spec/features/issues/note_polling_spec.rb index 3b738b856a7..b2f5c7e62a6 100644 --- a/spec/features/issues/note_polling_spec.rb +++ b/spec/features/issues/note_polling_spec.rb @@ -13,7 +13,6 @@ feature 'Issue notes polling', :js do it 'displays the new comment' do note = create(:note, noteable: issue, project: project, note: 'Looks good!') - page.execute_script('issueNotes.refresh();') wait_for_requests expect(page).to have_selector("#note_#{note.id}", text: 'Looks good!') @@ -115,7 +114,6 @@ feature 'Issue notes polling', :js do def update_note(note, new_text) note.update(note: new_text) - page.execute_script('issueNotes.refresh();') wait_for_requests end -- cgit v1.2.1