2011-11-28 07:39:43 +00:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe MergeRequest do
|
2011-11-28 21:24:08 +00:00
|
|
|
describe "Validation" do
|
|
|
|
it { should validate_presence_of(:target_branch) }
|
|
|
|
it { should validate_presence_of(:source_branch) }
|
|
|
|
end
|
|
|
|
|
2012-08-29 05:52:19 +00:00
|
|
|
describe 'modules' do
|
|
|
|
it { should include_module(IssueCommonality) }
|
|
|
|
it { should include_module(Upvote) }
|
2012-08-09 17:45:12 +00:00
|
|
|
end
|
2011-11-28 07:39:43 +00:00
|
|
|
end
|