diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-08-20 22:29:03 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-08-20 22:29:03 +0300 |
commit | 2b5a2b8f398aa6af0a24c40cd6586eae76c85a3f (patch) | |
tree | 92d95ed98c12c60decf3897fba76a80a99cbe67d /spec/lib/gitlab/email | |
parent | 3d51a6d4351c6a15c92762f5710a967374d0c59b (diff) |
Removed unused fixtures.
Diffstat (limited to 'spec/lib/gitlab/email')
-rw-r--r-- | spec/lib/gitlab/email/receiver_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/email/receiver_spec.rb b/spec/lib/gitlab/email/receiver_spec.rb index 65f3ceb5def..3d434aeaf91 100644 --- a/spec/lib/gitlab/email/receiver_spec.rb +++ b/spec/lib/gitlab/email/receiver_spec.rb @@ -31,7 +31,7 @@ describe Gitlab::Email::Receiver do end context "when no sent notificiation for the reply key could be found" do - let(:email_raw) { fixture_file('emails/valid_reply.eml').gsub(reply_key, "nope") } + let(:email_raw) { fixture_file('emails/wrong_reply_key.eml') } it "raises a SentNotificationNotFoundError" do expect { receiver.execute }.to raise_error(Gitlab::Email::Receiver::SentNotificationNotFoundError) |