summaryrefslogtreecommitdiff
path: root/spec/mailers
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-28 13:14:34 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-29 10:47:03 +0200
commit30c78e70cba395c1336611c58891a75473f8a037 (patch)
treee061fa88d4c325b9ffefa9783236018bfdc85c9d /spec/mailers
parent1530f68c9876bc8376bf4aa199c8abda570f5214 (diff)
downloadgitlab-ce-30c78e70cba395c1336611c58891a75473f8a037.tar.gz
WIP
Diffstat (limited to 'spec/mailers')
-rw-r--r--spec/mailers/ci/notify_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/mailers/ci/notify_spec.rb b/spec/mailers/ci/notify_spec.rb
index 20d8ddcd135..b83fb41603b 100644
--- a/spec/mailers/ci/notify_spec.rb
+++ b/spec/mailers/ci/notify_spec.rb
@@ -5,8 +5,7 @@ describe Ci::Notify do
include EmailSpec::Matchers
before do
- @project = FactoryGirl.create :ci_project
- @commit = FactoryGirl.create :ci_commit, project: @project
+ @commit = FactoryGirl.create :ci_commit
@build = FactoryGirl.create :ci_build, commit: @commit
end