Merge branch 'state-machine-stage-2' of https://github.com/Undev/gitlabhq into Undev-state-machine-stage-2
Conflicts: app/models/merge_request.rb
This commit is contained in:
commit
d7b667fee2
10 changed files with 97 additions and 82 deletions
|
@ -32,6 +32,12 @@ describe MergeRequest do
|
|||
it { should_not allow_mass_assignment_of(:project_id) }
|
||||
end
|
||||
|
||||
describe "Respond to" do
|
||||
it { should respond_to(:unchecked?) }
|
||||
it { should respond_to(:can_be_merged?) }
|
||||
it { should respond_to(:cannot_be_merged?) }
|
||||
end
|
||||
|
||||
describe 'modules' do
|
||||
it { should include_module(Issuable) }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue