diff options
author | Job van der Voort <jobvandervoort@gmail.com> | 2015-04-21 16:21:51 +0200 |
---|---|---|
committer | Job van der Voort <jobvandervoort@gmail.com> | 2015-04-21 16:21:51 +0200 |
commit | a8e93b7f51d968c1380ed210499869b62b07fd15 (patch) | |
tree | c864e80dfd9cf4f83fcede678acc986e3a125bf5 /spec/models/protected_branch_spec.rb | |
parent | 0625b15a481b3a3edd88110b3c18031ad9068d2f (diff) | |
download | gitlab-ce-7.10.0.rc5.tar.gz |
Version 7.10.0.rc5v7.10.0.rc5
Diffstat (limited to 'spec/models/protected_branch_spec.rb')
-rw-r--r-- | spec/models/protected_branch_spec.rb | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/spec/models/protected_branch_spec.rb b/spec/models/protected_branch_spec.rb deleted file mode 100644 index 1e6937b536c..00000000000 --- a/spec/models/protected_branch_spec.rb +++ /dev/null @@ -1,27 +0,0 @@ -# == Schema Information -# -# Table name: protected_branches -# -# id :integer not null, primary key -# project_id :integer not null -# name :string(255) not null -# created_at :datetime -# updated_at :datetime -# developers_can_push :boolean default(FALSE), not null -# - -require 'spec_helper' - -describe ProtectedBranch do - describe 'Associations' do - it { is_expected.to belong_to(:project) } - end - - describe "Mass assignment" do - end - - describe 'Validation' do - it { is_expected.to validate_presence_of(:project) } - it { is_expected.to validate_presence_of(:name) } - end -end |