diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-04-09 16:17:43 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-04-09 16:17:43 +0300 |
commit | 313611e29629efb2cc9441d0a1d57cd24f17568d (patch) | |
tree | ccccdf78ad1a1344d9ed63154f27473809768168 /spec/models/commit_spec.rb | |
parent | b969826a3c1a4293f8222c9491a00239a1256bcf (diff) | |
download | gitlab-ci-313611e29629efb2cc9441d0a1d57cd24f17568d.tar.gz |
remove protected attributes
Diffstat (limited to 'spec/models/commit_spec.rb')
-rw-r--r-- | spec/models/commit_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb index d4a516b..03bc1e8 100644 --- a/spec/models/commit_spec.rb +++ b/spec/models/commit_spec.rb @@ -30,14 +30,6 @@ describe Commit do it { should respond_to :git_author_email } it { should respond_to :short_sha } - it { should allow_mass_assignment_of(:project_id) } - it { should allow_mass_assignment_of(:ref) } - it { should allow_mass_assignment_of(:sha) } - it { should allow_mass_assignment_of(:before_sha) } - it { should allow_mass_assignment_of(:push_data) } - it { should allow_mass_assignment_of(:status) } - it { should allow_mass_assignment_of(:project_name) } - describe :last_build do subject { commit.last_build } before do |