Skip to content

Commit 595c315

Browse files
author
root
committed
Add some tests for GitExtras
1 parent 4423bcc commit 595c315

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: spec/models/repository_git_extra_spec.rb

+3
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@
1313
it { should allow_mass_assignment_of(:git_http) }
1414
it { should allow_mass_assignment_of(:git_daemon) }
1515
it { should allow_mass_assignment_of(:git_notify) }
16+
it { should allow_mass_assignment_of(:git_annex) }
1617
it { should allow_mass_assignment_of(:default_branch) }
1718
it { should allow_mass_assignment_of(:protected_branch) }
19+
it { should allow_mass_assignment_of(:public_repo) }
20+
it { should allow_mass_assignment_of(:key) }
1821

1922
## Relations
2023
it { should belong_to(:repository) }

0 commit comments

Comments
 (0)