2011-11-28 02:39:43 -05:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe MergeRequest do
|
2011-11-28 16:24:08 -05:00
|
|
|
describe "Validation" do
|
|
|
|
it { should validate_presence_of(:target_branch) }
|
|
|
|
it { should validate_presence_of(:source_branch) }
|
|
|
|
end
|
|
|
|
|
2012-08-29 01:52:19 -04:00
|
|
|
describe 'modules' do
|
|
|
|
it { should include_module(IssueCommonality) }
|
2012-09-07 20:23:49 -04:00
|
|
|
it { should include_module(Votes) }
|
2012-08-09 13:45:12 -04:00
|
|
|
end
|
2011-11-28 02:39:43 -05:00
|
|
|
end
|