BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
69f9bf77
Commit
69f9bf77
authored
Dec 23, 2015
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spinach tests will pass now
parent
ea5fa54b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
_star.html.haml
app/views/projects/buttons/_star.html.haml
+1
-1
star.feature
features/project/star.feature
+1
-0
star.rb
features/steps/project/star.rb
+1
-1
No files found.
app/views/projects/buttons/_star.html.haml
View file @
69f9bf77
...
...
@@ -8,7 +8,7 @@
%span
Star
%div
.count-with-arrow
%span
.arrow
%span
.count
%span
.count
.star-count
=
@project
.
star_count
:javascript
...
...
features/project/star.feature
View file @
69f9bf77
@project-stars
Feature
:
Project Star
Scenario
:
New projects have 0 stars
Given
public project
"Community"
...
...
features/steps/project/star.rb
View file @
69f9bf77
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment