diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-05-21 18:41:44 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-14 23:06:17 -0400 |
commit | 59604f8a421aa4b1622e90baef78b805abba2538 (patch) | |
tree | 49723020dc9e8e779ad2bb3b421b2dbfaf2cf579 | |
parent | cc14a90de9a46e95a0196c14ba352ac95f578856 (diff) | |
download | gitlab-ce-59604f8a421aa4b1622e90baef78b805abba2538.tar.gz |
Only require email_spec in the one place it's used
-rw-r--r-- | spec/mailers/notify_spec.rb | 1 | ||||
-rw-r--r-- | spec/spec_helper.rb | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb index c40ae7b5703..89853d05161 100644 --- a/spec/mailers/notify_spec.rb +++ b/spec/mailers/notify_spec.rb @@ -1,4 +1,5 @@ require 'spec_helper' +require 'email_spec' describe Notify do include EmailSpec::Helpers diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9c8004ab555..666d56079d7 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -2,7 +2,6 @@ ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../../config/environment", __FILE__) require 'rspec/rails' require 'shoulda/matchers' -require 'email_spec' require 'sidekiq/testing/inline' # Requires supporting ruby files with custom matchers and macros, etc, |