spinach tests will pass now
This commit is contained in:
parent
ea5fa54b2d
commit
69f9bf77d4
3 changed files with 3 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
%span Star
|
||||
%div.count-with-arrow
|
||||
%span.arrow
|
||||
%span.count
|
||||
%span.count.star-count
|
||||
= @project.star_count
|
||||
|
||||
:javascript
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
@project-stars
|
||||
Feature: Project Star
|
||||
Scenario: New projects have 0 stars
|
||||
Given public project "Community"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue