Añade el plugin Redmine Git Hosting 5.0.0
This commit is contained in:
parent
cfa0d58b18
commit
a3bddad233
458 changed files with 30396 additions and 1 deletions
10
plugins/redmine_git_hosting/spec/models/group_spec.rb
Normal file
10
plugins/redmine_git_hosting/spec/models/group_spec.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
require File.expand_path('../spec_helper', __dir__)
|
||||
|
||||
describe Group do
|
||||
subject { group }
|
||||
|
||||
let(:group) { build(:group) }
|
||||
|
||||
it { is_expected.to have_many(:protected_branches_members).dependent(:destroy) }
|
||||
it { is_expected.to have_many(:protected_branches).through(:protected_branches_members) }
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue