Commit 9de4e696 authored by Robert Speicher's avatar Robert Speicher

Remove errant print statements from votes spec

This caused those random "true" outputs in the rspec output.
parent d54f8098
...@@ -161,8 +161,8 @@ describe Issue, 'Votes' do ...@@ -161,8 +161,8 @@ describe Issue, 'Votes' do
add_note '+1 I still like this' add_note '+1 I still like this'
add_note '+1 I really like this' add_note '+1 I really like this'
add_note '+1 Give me this now!!!!' add_note '+1 Give me this now!!!!'
p issue.downvotes.should == 0 issue.downvotes.should == 0
p issue.upvotes.should == 1 issue.upvotes.should == 1
end end
it 'should count a users vote only once without caring about comments' do it 'should count a users vote only once without caring about comments' do
...@@ -171,8 +171,8 @@ describe Issue, 'Votes' do ...@@ -171,8 +171,8 @@ describe Issue, 'Votes' do
add_note 'Another comment' add_note 'Another comment'
add_note '+1 vote' add_note '+1 vote'
add_note 'final comment' add_note 'final comment'
p issue.downvotes.should == 0 issue.downvotes.should == 0
p issue.upvotes.should == 1 issue.upvotes.should == 1
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