summaryrefslogtreecommitdiff
path: root/features/steps/project/star.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-24 23:25:38 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-24 23:25:38 +0300
commit2d25faf21c85df4930dfd989be4f53d9fb0be87f (patch)
tree07678739f7c93d013aa39e270fe4c6d89fc10913 /features/steps/project/star.rb
parent420ba2119b2c63966ae60159c9216f7fdca0c469 (diff)
downloadgitlab-ce-2d25faf21c85df4930dfd989be4f53d9fb0be87f.tar.gz
Fix star tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps/project/star.rb')
-rw-r--r--features/steps/project/star.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/features/steps/project/star.rb b/features/steps/project/star.rb
index 11102900ed4..562df04e340 100644
--- a/features/steps/project/star.rb
+++ b/features/steps/project/star.rb
@@ -4,6 +4,10 @@ class Spinach::Features::ProjectStar < Spinach::FeatureSteps
include SharedPaths
include SharedUser
+ step "The project has no stars" do
+ page.should_not have_content '.star-buttons'
+ end
+
step "The project has 0 stars" do
has_n_stars(0)
end