Commit 81061aef authored by Maxim Rydkin's avatar Maxim Rydkin

replace `has_n_stars` with `has_n_stars?`

parent e6c7c11a
......@@ -9,15 +9,15 @@ class Spinach::Features::ProjectStar < Spinach::FeatureSteps
end
step "The project has 0 stars" do
has_n_stars(0)
has_n_stars?(0)
end
step "The project has 1 star" do
has_n_stars(1)
has_n_stars?(1)
end
step "The project has 2 stars" do
has_n_stars(2)
has_n_stars?(2)
end
# Requires @javascript
......@@ -31,7 +31,7 @@ class Spinach::Features::ProjectStar < Spinach::FeatureSteps
protected
def has_n_stars(n)
def has_n_stars?(n)
expect(page).to have_css(".star-count", text: n, visible: true)
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