Commit 69f9bf77 authored by Jacob Schatz's avatar Jacob Schatz

spinach tests will pass now

parent ea5fa54b
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
%span Star %span Star
%div.count-with-arrow %div.count-with-arrow
%span.arrow %span.arrow
%span.count %span.count.star-count
= @project.star_count = @project.star_count
:javascript :javascript
......
@project-stars
Feature: Project Star Feature: Project Star
Scenario: New projects have 0 stars Scenario: New projects have 0 stars
Given public project "Community" Given public project "Community"
......
...@@ -32,6 +32,6 @@ class Spinach::Features::ProjectStar < Spinach::FeatureSteps ...@@ -32,6 +32,6 @@ class Spinach::Features::ProjectStar < Spinach::FeatureSteps
protected protected
def has_n_stars(n) 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
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment