spinach tests will pass now

This commit is contained in:
Jacob Schatz 2015-12-23 12:26:41 -05:00
parent ea5fa54b2d
commit 69f9bf77d4
3 changed files with 3 additions and 2 deletions

View file

@ -8,7 +8,7 @@
%span Star
%div.count-with-arrow
%span.arrow
%span.count
%span.count.star-count
= @project.star_count
:javascript

View file

@ -1,3 +1,4 @@
@project-stars
Feature: Project Star
Scenario: New projects have 0 stars
Given public project "Community"

View file

@ -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