Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
app/views/projects/buttons/_star.html.haml
app/views/projects/buttons/_star.html.haml
+1
-1
features/project/star.feature
features/project/star.feature
+1
-0
features/steps/project/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