summaryrefslogtreecommitdiff
path: root/spec/models/protected_branch_spec.rb
diff options
context:
space:
mode:
authorAndrey Kumanyaev <me@zzet.org>2012-10-09 04:10:16 +0400
committerAndrey Kumanyaev <me@zzet.org>2012-10-09 04:10:16 +0400
commita4cd738686659314f0bb9fd13a80845dc2b036ab (patch)
tree3b754abf8321112e84e2b3556ee27a8782e07219 /spec/models/protected_branch_spec.rb
parentdf7c52489a890ac38491682b4a3399beb7cdbc86 (diff)
downloadgitlab-ce-a4cd738686659314f0bb9fd13a80845dc2b036ab.tar.gz
tests fix
Diffstat (limited to 'spec/models/protected_branch_spec.rb')
-rw-r--r--spec/models/protected_branch_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/protected_branch_spec.rb b/spec/models/protected_branch_spec.rb
index 4b2923624dd..c6b09f358fb 100644
--- a/spec/models/protected_branch_spec.rb
+++ b/spec/models/protected_branch_spec.rb
@@ -10,7 +10,7 @@ describe ProtectedBranch do
end
describe 'Validation' do
- it { should validate_presence_of(:project_id) }
+ it { should validate_presence_of(:project) }
it { should validate_presence_of(:name) }
end