Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-08-29 19:36:02 +0400
committerRobert Speicher <rspeicher@gmail.com>2012-08-29 19:36:02 +0400
commit97423a0bed1148f65f9ed2bd8bf540e764d9576c (patch)
treed91a67a6a863a97b8cf2acd76b01c18de08c2dc5 /spec/models/event_spec.rb
parent2bdea8651fa3bd82418986ada84828c22d451405 (diff)
Add more coverage for model validations and associations
Diffstat (limited to 'spec/models/event_spec.rb')
-rw-r--r--spec/models/event_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/event_spec.rb b/spec/models/event_spec.rb
index ef6e3ed21a4..aaffda3199e 100644
--- a/spec/models/event_spec.rb
+++ b/spec/models/event_spec.rb
@@ -3,6 +3,7 @@ require 'spec_helper'
describe Event do
describe "Associations" do
it { should belong_to(:project) }
+ it { should belong_to(:target) }
end
describe "Respond to" do