mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-25 12:36:27 +10:00
Merge branch 'fix-spinach-unsubscribe-mr-test' into 'master'
Remove timing dependency on unsubscribe merge request test This test failed for me once. I am now on a mission to remove `sleep` from the spinach tests. See: http://www.elabs.se/blog/53-why-wait_until-was-removed-from-capybara See merge request !523
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