Añade plugin Redmine Git Hosting 4.0.2
This commit is contained in:
parent
472cb1ea76
commit
bdd66d941f
494 changed files with 36768 additions and 0 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