Welcome to mirror list, hosted at ThFree Co, Russian Federation.

merge_request_spec.rb « models « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d1253b35ae5edd5d0c82b624e204ba6dc39ddd95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'spec_helper'

describe MergeRequest do
  describe "Validation" do
    it { should validate_presence_of(:target_branch) }
    it { should validate_presence_of(:source_branch) }
  end

  describe 'modules' do
    it { should include_module(IssueCommonality) }
    it { should include_module(Upvote) }
  end
end