mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 20:56:08 +10:00
Remove timing dependency on test
See: http://www.elabs.se/blog/53-why-wait_until-was-removed-from-capybara
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user