Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-03-17 16:04:25 +0300
committerValery Sizov <vsv2711@gmail.com>2015-03-17 18:11:57 +0300
commit22fcb2f418ed6a2c7e68c0cd3ec2d414510ad4ec (patch)
tree460623948d5f0d9f91ef2ec71832a9178b4d94bd /features
parent1b437ec3498bc544dbd1b252f5c755e9073407fd (diff)
improve UI
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/issues/issues.rb4
-rw-r--r--features/steps/project/merge_requests.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/features/steps/project/issues/issues.rb b/features/steps/project/issues/issues.rb
index cc0d6033a2b..e8ca3f7c176 100644
--- a/features/steps/project/issues/issues.rb
+++ b/features/steps/project/issues/issues.rb
@@ -19,12 +19,12 @@ class Spinach::Features::ProjectIssues < Spinach::FeatureSteps
end
step 'I should see that I am subscribed' do
- find(".sub_status").text.should == "subscribed"
+ find(".subscribe-button span").text.should == "Unsubscribe"
end
step 'I should see that I am unsubscribed' do
sleep 0.2
- find(".sub_status").text.should == "unsubscribed"
+ find(".subscribe-button span").text.should == "Subscribe"
end
step 'I click link "Closed"' do
diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb
index 5a35d703765..6e2f60972b6 100644
--- a/features/steps/project/merge_requests.rb
+++ b/features/steps/project/merge_requests.rb
@@ -57,12 +57,12 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
end
step 'I should see that I am subscribed' do
- find(".sub_status").text.should == "subscribed"
+ find(".subscribe-button span").text.should == "Unsubscribe"
end
step 'I should see that I am unsubscribed' do
sleep 0.2
- find(".sub_status").text.should == "unsubscribed"
+ find(".subscribe-button span").text.should == "Subscribe"
end
step 'I click button "Unsubscribe"' do