File tree 7 files changed +0
-47
lines changed
7 files changed +0
-47
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,6 @@ def test_user
25
25
26
26
subject { @ssh_key }
27
27
28
- ## Attributes
29
- it { is_expected . to allow_mass_assignment_of ( :title ) }
30
- it { is_expected . to allow_mass_assignment_of ( :key ) }
31
- it { is_expected . to allow_mass_assignment_of ( :key_type ) }
32
- it { is_expected . to allow_mass_assignment_of ( :delete_when_unused ) }
33
-
34
28
## Relations
35
29
it { is_expected . to belong_to ( :user ) }
36
30
it { is_expected . to have_many ( :repository_deployment_credentials ) }
Original file line number Diff line number Diff line change @@ -27,10 +27,6 @@ def build_deployment_credential(opts = {})
27
27
28
28
subject { @deployment_credential }
29
29
30
- ## Attributes
31
- it { should allow_mass_assignment_of ( :perm ) }
32
- it { should allow_mass_assignment_of ( :active ) }
33
-
34
30
## Relations
35
31
it { should belong_to ( :repository ) }
36
32
it { should belong_to ( :gitolite_public_key ) }
Original file line number Diff line number Diff line change 6
6
7
7
subject { git_config_key }
8
8
9
- ## Attributes
10
- it { should allow_mass_assignment_of ( :type ) }
11
- it { should allow_mass_assignment_of ( :key ) }
12
- it { should allow_mass_assignment_of ( :value ) }
13
-
14
9
## Relations
15
10
it { should belong_to ( :repository ) }
16
11
Original file line number Diff line number Diff line change 6
6
7
7
subject { git_extra }
8
8
9
- ## Attributes
10
- it { should allow_mass_assignment_of ( :git_http ) }
11
- it { should allow_mass_assignment_of ( :git_daemon ) }
12
- it { should allow_mass_assignment_of ( :git_notify ) }
13
- it { should allow_mass_assignment_of ( :git_annex ) }
14
- it { should allow_mass_assignment_of ( :default_branch ) }
15
- it { should allow_mass_assignment_of ( :protected_branch ) }
16
- it { should allow_mass_assignment_of ( :public_repo ) }
17
- it { should allow_mass_assignment_of ( :key ) }
18
- it { should allow_mass_assignment_of ( :urls_order ) }
19
-
20
9
## Relations
21
10
it { should belong_to ( :repository ) }
22
11
Original file line number Diff line number Diff line change @@ -40,14 +40,6 @@ def expect_valid_refspec(refspec)
40
40
41
41
subject { @mirror }
42
42
43
- ## Attributes
44
- it { should allow_mass_assignment_of ( :url ) }
45
- it { should allow_mass_assignment_of ( :push_mode ) }
46
- it { should allow_mass_assignment_of ( :include_all_branches ) }
47
- it { should allow_mass_assignment_of ( :include_all_tags ) }
48
- it { should allow_mass_assignment_of ( :explicit_refspec ) }
49
- it { should allow_mass_assignment_of ( :active ) }
50
-
51
43
## Relations
52
44
it { should belong_to ( :repository ) }
53
45
Original file line number Diff line number Diff line change 6
6
7
7
subject { post_receive_url }
8
8
9
- ## Attributes
10
- it { should allow_mass_assignment_of ( :url ) }
11
- it { should allow_mass_assignment_of ( :mode ) }
12
- it { should allow_mass_assignment_of ( :active ) }
13
- it { should allow_mass_assignment_of ( :use_triggers ) }
14
- it { should allow_mass_assignment_of ( :triggers ) }
15
- it { should allow_mass_assignment_of ( :split_payloads ) }
16
-
17
9
## Relations
18
10
it { should belong_to ( :repository ) }
19
11
Original file line number Diff line number Diff line change 6
6
7
7
subject { protected_branch }
8
8
9
- ## Attributes
10
- it { should allow_mass_assignment_of ( :path ) }
11
- it { should allow_mass_assignment_of ( :permissions ) }
12
- it { should allow_mass_assignment_of ( :position ) }
13
-
14
9
## Relations
15
10
it { should belong_to ( :repository ) }
16
11
it { should have_many ( :protected_branches_members ) . with_foreign_key ( :protected_branch_id ) . dependent ( :destroy ) }
You can’t perform that action at this time.
0 commit comments