more tests fixed
This commit is contained in:
parent
b059de2ac7
commit
752eb2c11d
3 changed files with 5 additions and 9 deletions
|
@ -1,14 +1,8 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe Issue do
|
||||
it { should include_module(Votes) }
|
||||
end
|
||||
|
||||
describe MergeRequest do
|
||||
let(:merge_request) { FactoryGirl.create(:merge_request_with_diffs) }
|
||||
|
||||
it { should include_module(Votes) }
|
||||
|
||||
describe "#upvotes" do
|
||||
it "with no notes has a 0/0 score" do
|
||||
merge_request.upvotes.should == 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue