summaryrefslogtreecommitdiff
path: root/spec/mailers/notify_spec.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-03-31 15:52:38 -0600
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-05 17:44:14 +0100
commitafa53810deab37c95da245510a7cf85e8846a162 (patch)
tree1e6a4e64584e64fabb8e7ea21a7e9e13624ea018 /spec/mailers/notify_spec.rb
parent21e10888c3fc0fe545c0443cf0e23f593df847a4 (diff)
downloadgitlab-ce-afa53810deab37c95da245510a7cf85e8846a162.tar.gz
Fix specs
Diffstat (limited to 'spec/mailers/notify_spec.rb')
-rw-r--r--spec/mailers/notify_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb
index fcbbc3166ed..c107e4c4457 100644
--- a/spec/mailers/notify_spec.rb
+++ b/spec/mailers/notify_spec.rb
@@ -755,7 +755,7 @@ describe Notify do
end
shared_examples 'an email for a note on a diff discussion' do |model|
- let(:note) { create(model, project: project, author: note_author) }
+ let(:note) { create(model, author: note_author) }
it "includes diffs with character-level highlighting" do
is_expected.to have_body_text '<span class="p">}</span></span>'