summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-15 12:56:25 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-15 12:56:25 +0300
commitb75866120b2391d0f2f01d03601a19baa9fa9b4e (patch)
tree7bfdd24e23ca7758c8e37648cfc924d9fdaaec0b /features/steps
parent3d9cbc5dcb09adc86e1a215f58f3734caeee76e9 (diff)
parentb409c376711f7130f20ded5732354b66428a2674 (diff)
downloadgitlab-ce-b75866120b2391d0f2f01d03601a19baa9fa9b4e.tar.gz
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/project/merge_requests.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb
index 40c102833a4..bb1f9f129c0 100644
--- a/features/steps/project/merge_requests.rb
+++ b/features/steps/project/merge_requests.rb
@@ -61,8 +61,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
end
step 'I should see that I am unsubscribed' do
- sleep 0.2
- find(".subscribe-button span").text.should == "Subscribe"
+ find(".subscribe-button span").should have_content("Subscribe")
end
step 'I click button "Unsubscribe"' do