diff options
author | Andrey Kumanyaev <me@zzet.org> | 2012-10-09 04:10:16 +0400 |
---|---|---|
committer | Andrey Kumanyaev <me@zzet.org> | 2012-10-09 04:10:16 +0400 |
commit | a4cd738686659314f0bb9fd13a80845dc2b036ab (patch) | |
tree | 3b754abf8321112e84e2b3556ee27a8782e07219 /spec/models/milestone_spec.rb | |
parent | df7c52489a890ac38491682b4a3399beb7cdbc86 (diff) | |
download | gitlab-ce-a4cd738686659314f0bb9fd13a80845dc2b036ab.tar.gz |
tests fix
Diffstat (limited to 'spec/models/milestone_spec.rb')
-rw-r--r-- | spec/models/milestone_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/milestone_spec.rb b/spec/models/milestone_spec.rb index 9c11a7b1043..ef50e012722 100644 --- a/spec/models/milestone_spec.rb +++ b/spec/models/milestone_spec.rb @@ -12,7 +12,7 @@ describe Milestone do describe "Validation" do it { should validate_presence_of(:title) } - it { should validate_presence_of(:project_id) } + it { should validate_presence_of(:project) } it { should ensure_inclusion_of(:closed).in_array([true, false]) } end |