diff options
author | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2015-12-23 20:26:41 +0300 |
---|---|---|
committer | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2015-12-23 20:26:50 +0300 |
commit | 69f9bf77d4ad3fd6c690bf863337854f4347494d (patch) | |
tree | 366f196a7400be18d12f6cef21a698d8c0620fd7 /features | |
parent | ea5fa54b2d1949a21503661b3fd5a25401bf110e (diff) |
spinach tests will pass now
Diffstat (limited to 'features')
-rw-r--r-- | features/project/star.feature | 1 | ||||
-rw-r--r-- | features/steps/project/star.rb | 2 |
2 files changed, 2 insertions, 1 deletions
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 |