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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
9de4e696
Commit
9de4e696
authored
Jan 29, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove errant print statements from votes spec
This caused those random "true" outputs in the rspec output.
parent
d54f8098
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/lib/votes_spec.rb
spec/lib/votes_spec.rb
+4
-4
No files found.
spec/lib/votes_spec.rb
View file @
9de4e696
...
...
@@ -161,8 +161,8 @@ describe Issue, 'Votes' do
add_note
'+1 I still like this'
add_note
'+1 I really like this'
add_note
'+1 Give me this now!!!!'
p
issue
.
downvotes
.
should
==
0
p
issue
.
upvotes
.
should
==
1
issue
.
downvotes
.
should
==
0
issue
.
upvotes
.
should
==
1
end
it
'should count a users vote only once without caring about comments'
do
...
...
@@ -171,8 +171,8 @@ describe Issue, 'Votes' do
add_note
'Another comment'
add_note
'+1 vote'
add_note
'final comment'
p
issue
.
downvotes
.
should
==
0
p
issue
.
upvotes
.
should
==
1
issue
.
downvotes
.
should
==
0
issue
.
upvotes
.
should
==
1
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