diff options
| author | Valery Sizov <vsv2711@gmail.com> | 2015-03-16 17:20:17 +0200 |
|---|---|---|
| committer | Valery Sizov <vsv2711@gmail.com> | 2015-03-16 21:38:41 +0200 |
| commit | 1b437ec3498bc544dbd1b252f5c755e9073407fd (patch) | |
| tree | e3c0cea66260a2b65d21b660ebd4b042a6b0c80c /features/steps/project/issues | |
| parent | f53683e67fa0db7b13d0dee977bc21206af7e0fd (diff) | |
| download | gitlab-ce-1b437ec3498bc544dbd1b252f5c755e9073407fd.tar.gz | |
tests
Diffstat (limited to 'features/steps/project/issues')
| -rw-r--r-- | features/steps/project/issues/issues.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/features/steps/project/issues/issues.rb b/features/steps/project/issues/issues.rb index 6d72c93ad13..cc0d6033a2b 100644 --- a/features/steps/project/issues/issues.rb +++ b/features/steps/project/issues/issues.rb @@ -18,10 +18,23 @@ class Spinach::Features::ProjectIssues < Spinach::FeatureSteps page.should_not have_content "Tweet control" end + step 'I should see that I am subscribed' do + find(".sub_status").text.should == "subscribed" + end + + step 'I should see that I am unsubscribed' do + sleep 0.2 + find(".sub_status").text.should == "unsubscribed" + end + step 'I click link "Closed"' do click_link "Closed" end + step 'I click button "Unsubscribe"' do + click_on "Unsubscribe" + end + step 'I should see "Release 0.3" in issues' do page.should have_content "Release 0.3" end |
