summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/project/issues/issues.rb1
-rw-r--r--features/steps/shared/note.rb2
2 files changed, 3 insertions, 0 deletions
diff --git a/features/steps/project/issues/issues.rb b/features/steps/project/issues/issues.rb
index 2deef9036d3..b9460f5b534 100644
--- a/features/steps/project/issues/issues.rb
+++ b/features/steps/project/issues/issues.rb
@@ -168,6 +168,7 @@ class Spinach::Features::ProjectIssues < Spinach::FeatureSteps
author: project.users.first,
description: "# Description header"
)
+ wait_for_requests
end
step 'project "Shop" have "Tweet control" open issue' do
diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb
index 80187b83fee..f53919f4135 100644
--- a/features/steps/shared/note.rb
+++ b/features/steps/shared/note.rb
@@ -163,5 +163,7 @@ module SharedNote
page.within(".note") do
expect(page).to have_content("+1 Awesome!")
end
+
+ wait_for_requests
end
end