diff options
| author | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2015-12-23 12:26:41 -0500 |
|---|---|---|
| committer | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2015-12-23 12:26:50 -0500 |
| commit | 69f9bf77d4ad3fd6c690bf863337854f4347494d (patch) | |
| tree | 366f196a7400be18d12f6cef21a698d8c0620fd7 | |
| parent | ea5fa54b2d1949a21503661b3fd5a25401bf110e (diff) | |
| download | gitlab-ce-69f9bf77d4ad3fd6c690bf863337854f4347494d.tar.gz | |
spinach tests will pass now
| -rw-r--r-- | app/views/projects/buttons/_star.html.haml | 2 | ||||
| -rw-r--r-- | features/project/star.feature | 1 | ||||
| -rw-r--r-- | features/steps/project/star.rb | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/buttons/_star.html.haml b/app/views/projects/buttons/_star.html.haml index aba959f991a..0f2ee119871 100644 --- a/app/views/projects/buttons/_star.html.haml +++ b/app/views/projects/buttons/_star.html.haml @@ -8,7 +8,7 @@ %span Star %div.count-with-arrow %span.arrow - %span.count + %span.count.star-count = @project.star_count :javascript diff --git a/features/project/star.feature b/features/project/star.feature index a45f9c470ea..618f44fe6dc 100644 --- a/features/project/star.feature +++ b/features/project/star.feature @@ -1,3 +1,4 @@ +@project-stars Feature: Project Star Scenario: New projects have 0 stars Given public project "Community" diff --git a/features/steps/project/star.rb b/features/steps/project/star.rb index bd2e0619cdd..9f7c748a3b7 100644 --- a/features/steps/project/star.rb +++ b/features/steps/project/star.rb @@ -32,6 +32,6 @@ class Spinach::Features::ProjectStar < Spinach::FeatureSteps protected def has_n_stars(n) - expect(page).to have_css(".star-btn .count", text: n, visible: true) + expect(page).to have_css(".star-count", text: n, visible: true) end end |
